home recent topics recent posts search faq  

Huagati Systems Support Forum



register | lost password   open id sign in with Twitter
Messages in this topic - RSS

Home » Huagati DBML/EDMX Tools Support » DDL output from DBML completely useless

Support forum for Huagati DBML/EDMX Tools
6/10/2010 10:37:07 PM

dotnetchris
dotnetchris
Posts: 1
I downloaded and installed the trial of DBML/EDMX Tools to reverse generate a table from my DBML file to my database.

When I executed the Generate DBML <> model differences file the output of the file was drop statements for all of my other tables and the statement for the single table I wanted to create was

/*The table referenced by class MyTable is not defined in the database.*/
Create Table . ( , , , , , , , , );
go

I'm not really sure how this gigantic of a bug is in production code being a developer myself... regardless information that might be useful Win7 Enterprise x64, VS2010 Ultimate, Sql Server 2008 db.
0 permalink
6/11/2010 2:14:05 AM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 331
Hi Chris,

I just tried to reproduce on a machine with the same config, but wasn't able to.

Can you check that the 'source' and 'server data type' properties are set for the new table and its members?

Would it be possible to share the dbml file? (You can email it to support (at) huagati.com if you don't want to post it here )

Best regards,
Kristofer

0 permalink
7/2/2010 12:49:01 PM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 331
This behavior could be triggered if 'source' and 'server data type' was not set in the designer. As of ver 1.90 additional validation has been added to ensure that those fields are filled out and/or that the values are inferred when possible.
0 permalink

Home » Huagati DBML/EDMX Tools Support » DDL output from DBML completely useless





Powered by Jitbit Forum 7.1.0.0 © 2006-2011 Jitbit Software