Page 1 of 1

Another defect with the fluent mapping in the templates

Posted: Sat 11 Jan 2014 21:54
by strandedpirate
The fluent mapping code has yet another defect for composite keys. The order in which the columns are defined for any given entity's primary composite key must be adhered to by all association mappings. Currently entity composite primary keys are declared in one order and the navigation/associations are then defined with the keys out of order causing failure during runtime.

Get the fix here:
https://gist.github.com/Strandedpirate/8326219

Re: Another defect with the fluent mapping in the templates

Posted: Mon 13 Jan 2014 13:31
by Shalex
Thank you for your report. We will include the fix for DbContext template in the next public build of Entity Developer.

Re: Another defect with the fluent mapping in the templates

Posted: Wed 15 Jan 2014 14:53
by Shalex
The bug with composite keys mapping in the DbContext template is fixed. We will notify you when the corresponding build of Entity Developer is available for download.

Re: Another defect with the fluent mapping in the templates

Posted: Thu 16 Jan 2014 15:11
by Shalex
New build of Entity Developer 5.7.276 is available for download!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=28723.