Bug in code generation with key fields

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
lindholm
Posts: 2
Joined: Sat 16 May 2009 15:16

Bug in code generation with key fields

Post by 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.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by 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.

lindholm
Posts: 2
Joined: Sat 16 May 2009 15:16

Info

Post by 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.

Post Reply