Sql script generate tables order

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Posts: 3
Joined: Sat 03 May 2014 01:05

Sql script generate tables order

Post by Dabassman » Sat 03 May 2014 01:18

Hi there,
I have a small data model consisting of 25 tables in 2 different schemas.
When generating the sql creation script, the tables are created in the wrong order (if table a has a 1 to n relation to table b, table be has to be created before table a -or- the foreign key has to be defined afterwards).
Unfortunately, entity developer is not respecting this. Is there a way to circumvent this?

Kind regards


Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: Sql script generate tables order

Post by Shalex » Mon 05 May 2014 06:50

1. Please specify the ORM framework (LinqConnect/Entity Framework/NHibernate) you are working with.
2. If possible, send us a test model so that we can reproduce the issue in our environment.

Post Reply