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)
If database row is exist - all works normal
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/vGzKfo8yK6EJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.