Hi,

Some remarks:
1) you don't need two Save calls if you configure cascading from one entity's 
property to the other entity (company to contact); try "all";
2) the way you are deleting objects is vary bad, in performance terms; see, for 
example, http://weblogs.asp.net/ricardoperes/deleting-entities-in-nhibernate;
3) if you don't need GuidComb (and I guess not) you can use other Guid flavors 
for a slight performance improvement - GuidComb ids are ordered temporally.

RP

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to