reanimated NHibernate.Integration.Tests

This commit is contained in:
eeichinger
2008-12-23 23:02:54 +00:00
parent 044e8af105
commit 9608cd67da
17 changed files with 367 additions and 89 deletions

View File

@@ -0,0 +1,99 @@
create database Credits
GO
CREATE TABLE [Credits](
[CreditID] [int] IDENTITY NOT NULL,
[CreditAmount] [float] NOT NULL,
CONSTRAINT [PK_CreditID] PRIMARY KEY CLUSTERED
(
[CreditID] ASC
)
)
go
create database Debits
GO
CREATE TABLE [Debits](
[DebitID] [int] IDENTITY NOT NULL,
[DebitAmount] [float] NOT NULL,
CONSTRAINT [PK_DebitID] PRIMARY KEY CLUSTERED
(
[DebitID] ASC
) ON [PRIMARY]
)
GO
create database CreditsAndDebits
GO
CREATE TABLE [Debits](
[DebitID] [int] IDENTITY NOT NULL,
[DebitAmount] [float] NOT NULL,
CONSTRAINT [PK_DebitID] PRIMARY KEY CLUSTERED
(
[DebitID] ASC
) ON [PRIMARY]
)
CREATE TABLE [Credits](
[CreditID] [int] IDENTITY NOT NULL,
[CreditAmount] [float] NOT NULL,
CONSTRAINT [PK_CreditID] PRIMARY KEY CLUSTERED
(
[CreditID] ASC
)
)
GO
create database Spring
GO
CREATE TABLE [Debits](
[DebitID] [int] IDENTITY NOT NULL,
[DebitAmount] [float] NOT NULL,
CONSTRAINT [PK_DebitID] PRIMARY KEY CLUSTERED
(
[DebitID] ASC
) ON [PRIMARY]
)
CREATE TABLE [Credits](
[CreditID] [int] IDENTITY NOT NULL,
[CreditAmount] [float] NOT NULL,
CONSTRAINT [PK_CreditID] PRIMARY KEY CLUSTERED
(
[CreditID] ASC
)
)
CREATE TABLE [dbo].[TestObjects](
[TestObjectNo] [int] IDENTITY(1,1) NOT NULL,
[Age] [int] NOT NULL,
[Name] [nvarchar](1024) NULL,
CONSTRAINT [TestObjectNo] PRIMARY KEY CLUSTERED
(
[TestObjectNo] ASC
)
)
create database Spring2
GO
CREATE TABLE [Debits](
[DebitID] [int] IDENTITY NOT NULL,
[DebitAmount] [float] NOT NULL,
CONSTRAINT [PK_DebitID] PRIMARY KEY CLUSTERED
(
[DebitID] ASC
) ON [PRIMARY]
)
CREATE TABLE [Credits](
[CreditID] [int] IDENTITY NOT NULL,
[CreditAmount] [float] NOT NULL,
CONSTRAINT [PK_CreditID] PRIMARY KEY CLUSTERED
(
[CreditID] ASC
)
)
CREATE TABLE [dbo].[TestObjects](
[TestObjectNo] [int] IDENTITY(1,1) NOT NULL,
[Age] [int] NOT NULL,
[Name] [nvarchar](1024) NULL,
CONSTRAINT [TestObjectNo] PRIMARY KEY CLUSTERED
(
[TestObjectNo] ASC
)
)