get database from generated classes

Posts   
 
    
Posts: 2
Joined: 25-Oct-2011
# Posted on: 25-Oct-2011 17:48:33   

Hello,

I wonder if it is possible to get the database schema from the generated classes in the DAL.

Best,

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 25-Oct-2011 20:44:12   

Hi there,

Please be more specific. What do you mean by "get the database schema"? (just schema name?), and Why would you want such thing?

David Elizondo | LLBLGen Support Team
Posts: 2
Joined: 25-Oct-2011
# Posted on: 26-Oct-2011 19:01:41   

i have the generated DAL c# code:CollectionClasses,EntityClasses,RelationClasses.......

is there any way to recreate the db tables from the corresponding EntityClasses and their associations from the RelationClasses.

for scientific reason.

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 26-Oct-2011 19:47:15   

You can right-click on the Relation Model and then "Generate Database schema create script".