home recent topics recent posts search register faq   AspNetForum v.4.8.2.0

Huagati Systems Support Forum :: Forum

user:
psw:
| lost password
Home » Huagati DBML/EDMX Tools Support » DDL output from DBML completely useless Messages in this topic - RSS
6/10/2010 10:37:07 PM
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.
6/11/2010 2:14:05 AM
Kristofer
Posts 256
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

Attachments: dbmlNewTable.png dbmlNewTableDDL.png
7/2/2010 12:49:01 PM
Kristofer
Posts 256
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.
pages: 1
|

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