CreateDatabase does not work

CreateDatabase does not work

Postby Zero-G. » Fri 05 Jun 2015 14:41

Hey
I use Version 4.4.7450.0
(LinQ to Ms-SQL Server)
I have a complex DataLayout with over 100 tables
I try to run the CreateDatabase Procedure from within my DataContext
Within the second execution of the create table Statement, I get an error, that a Foreign key can't be created, because of a missing table.

I looked with dbMonitor, what the create Statement is trying to do.
And I can see, that the Foreign Key will be executed at table creation. - This can't work anyhow.
First all database objects have to be created, before Relations can be added.

Please help - THX
Zero-G.
 
Posts: 390
Joined: Sat 09 Dec 2006 12:20

Re: CreateDatabase does not work

Postby MariiaI » Tue 09 Jun 2015 08:23

We have contacted you by e-mail.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17


Return to LinqConnect (LINQ to SQL support)