Does this tool can generate SQL schema from the objects?

Posts   
 
    
dorit
User
Posts: 16
Joined: 03-Jul-2006
# Posted on: 03-Jul-2006 16:10:59   

Hi,

I'm evaluating the LLBLGen.Pro tool I saw that from a DB schema the mappong objects can be generated. I want to know if the opposite way is possible. Generate the code and the tool will generate the DB schema. Thanks in advance

louthy
User
Posts: 61
Joined: 02-Aug-2005
# Posted on: 03-Jul-2006 18:52:18   

I don't think it does, but I agree that would be very handy.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 04-Jul-2006 20:46:23   

LLBLGen Pro won't generate the db schema, nor will it every do that, as it's against the philosophy of the toolkit: you should design your E/R model which is the base of your database schema with a proper toolkit special made for that purpose. LLBLGen Pro is for bridging between the Relational database model and the object model.

Frans Bouma | Lead developer LLBLGen Pro
louthy
User
Posts: 61
Joined: 02-Aug-2005
# Posted on: 04-Jul-2006 23:25:39   

It would be useful for deployment though. The code is built from the most recent DB schema. So having a method that builds a new DB from scratch using the code would be great for deploying projects.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 04-Jul-2006 23:57:12   

Oh but that's a different scenario simple_smile . Indeed DDL generating templates are useful, and we've plans to create some of those soon.

Frans Bouma | Lead developer LLBLGen Pro
louthy
User
Posts: 61
Joined: 02-Aug-2005
# Posted on: 05-Jul-2006 00:13:00   

Otis wrote:

Oh but that's a different scenario simple_smile . Indeed DDL generating templates are useful, and we've plans to create some of those soon.

Sorry I assumed that's what he meant simple_smile

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 05-Jul-2006 08:15:25   

or a database default value for the field

I thought that's what he meant too. simple_smile

JimFoye avatar
JimFoye
User
Posts: 656
Joined: 22-Jun-2004
# Posted on: 05-Jul-2006 22:13:26   

There are tools that generate DDL scripts, though. Quite a few, actually...

pilotboba
User
Posts: 434
Joined: 05-Aug-2005
# Posted on: 05-Jul-2006 23:09:04   

JimFoye wrote:

There are tools that generate DDL scripts, though. Quite a few, actually...

I agree. I would rather Frans spend his time on other stuff.

Now, if he is going to let you design the entities in the Designer and then Create the DDL, that would be great. Even better if it had a feature like deklairit that automatically updated the db based on a deployed assembly even better.

But, as long as the metadata is always built from an existing db, I am very happy with Db Ghost to generate change scripts.

BOb

Ruizzie avatar
Ruizzie
User
Posts: 34
Joined: 14-Oct-2003
# Posted on: 10-Jul-2006 10:08:41   

I can add EMS Database Comparer to that list. This also generates change scripts very nicely, and for only $ 65,-