Merge and ComposedID behavior when entity is not exist
16 views
Skip to first unread message
Алексей
unread,
Sep 23, 2012, 6:47:42 PM9/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nhu...@googlegroups.com
Two classes
class Obj { int ID{get;set;} }
class ObjLocale { int ID{get;set;} int Lang{get;set;} }
Merge for first class when object is not exist creates it. For second object - throw NonUnique Exception (a different object with the same identifier value was already associated with the session)