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
Another defect with the fluent mapping in the templates
-
- Posts: 21
- Joined: Tue 07 Jan 2014 12:38
Re: Another defect with the fluent mapping in the templates
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
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
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.
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.