Bug in code generation with key fields

Bug in code generation with key fields

Postby lindholm » Sat 16 May 2009 15:19

Every table in my database has a primary key, but when I generate the code, some of the objects are created without primary keys. Not all, but some.

All the tables have the same primary key name, and it is declared the same in every table, this is very strange, and unfortunately you can't tell until you hit an exception when you try to add a record.
lindholm
 
Posts: 2
Joined: Sat 16 May 2009 15:16

Postby AndreyR » Mon 18 May 2009 11:51

Could you please specify the version of dotConnect you use?
Please also provide us with two scripts: one for a table containing a primary key in the model
and another one for a table not containing a primary key.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Info

Postby lindholm » Wed 27 May 2009 13:07

I am using 200.18 just redid it today.

I can't get a simple example that fails, and I can't send our entire database schema. I will keep trying to get a small example that duplicates the problem. We currently have 462 tables in our schema plus views.
lindholm
 
Posts: 2
Joined: Sat 16 May 2009 15:16


Return to LinqConnect (LINQ to SQL support)