Hi, Charles!

I apologize, I didn’t see your mappings because Google Groups was hiding 
part of the message - I had to click a "show trimmed message" link that I 
hadn't noticed.

Don't see anything obvious. Perhaps some other community member who is more 
skilled than I have can help. I'll have a look anyway and will let you know.

RP




On Wednesday, October 1, 2014 4:37:22 PM UTC+1, Charles Jenkins wrote:
>
> Ricardo,
>
> (I'm retrying a post that never appeared yesterday.)
>
> I don't understand remark 1 yet. As you can see in the CompanyMap object, 
> Cascade All is configured in the Company -> Contact mapping. Where else did 
> you mean I should put it?
>
> On Monday, September 29, 2014 4:39:11 PM UTC-4, Ricardo Peres wrote:
>>
>> 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