Whats the recommended gameplan to modify an existing model to properly have 1:1? Unmap and re-map everything?
Btw, THANK YOU THANK YOU THANK YOU for taking the time to implement this :)
1 Answer, 1 is accepted
0
Zoran
Telerik team
answered on 11 Jun 2012, 02:26 PM
Hello Steve,
I would recommend you to unmap and then re-map the entities that are in a 1:1 relationship in your database. You don't have to re-map your complete model, but entities containing a 1:1 relationships. There is no automatic way that would upgrade your .rlinq with the new properties (references from both sides instead of a reference and a collection), so you should manually re-map the entities involved to get the desired result.
Kind regards,
Zoran
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!