I'm trying to use Table Per Hierarchy with discriminating with sub class with a join.
Example: http://nhforge.org/doc/nh/en/index.html ... criminator
Screen error when trying to update later from the database.
Table Per Hierarchy to Join bug when importing and updating the database.
Re: Table Per Hierarchy to Join bug when importing and updating the database.
We cannot reproduce the problem at the moment. Please send us a test model and specify the following information:
1) the steps we should follow with your model to reproduce the issue
2) the text of the error in English
3) the exact (x.xx.xxx) version of your Entity Developer
1) the steps we should follow with your model to reproduce the issue
2) the text of the error in English
3) the exact (x.xx.xxx) version of your Entity Developer
Re: Table Per Hierarchy to Join bug when importing and updating the database.
Steps to Reproduce:
Create a new model, the type NHibernate;
Add a class with any property ('ll call Class1);
Add another class (Class2) inheriting from Class1;
Place in Class1 and Class2 the discriminator;
Add to Class2 Join one with some table;
Place in the propridades Class2 Join the created anteriorly;
Try an Update Model From Database;
Occurs the error: "The given key was not present in the dictionary."
Version: 5.7.276
Is modeled with the problem:
https://mega.co.nz/#!FURyFZ7Q!sXcGiBn2X ... wzBaZyDdAo
The sample was also sent by email.
Create a new model, the type NHibernate;
Add a class with any property ('ll call Class1);
Add another class (Class2) inheriting from Class1;
Place in Class1 and Class2 the discriminator;
Add to Class2 Join one with some table;
Place in the propridades Class2 Join the created anteriorly;
Try an Update Model From Database;
Occurs the error: "The given key was not present in the dictionary."
Version: 5.7.276
Is modeled with the problem:
https://mega.co.nz/#!FURyFZ7Q!sXcGiBn2X ... wzBaZyDdAo
The sample was also sent by email.
Re: Table Per Hierarchy to Join bug when importing and updating the database.
Thank you for your report. We have reproduced the problem and are investigating it.
Re: Table Per Hierarchy to Join bug when importing and updating the database.
Thank you for the effort.
Re: Table Per Hierarchy to Join bug when importing and updating the database.
The bug with generating "The given key was not present in the dictionary" error in the Update Model From Database wizard is fixed in the new build of Entity Developer 5.7.342: http://forums.devart.com/viewtopic.php?f=32&t=29430.
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).
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).