> along with Rich's recommendation try adjusting the mappings/db schema.
> 1. cascade="save-update" on-delete="cascade"

Yes I tried cascading deletings in the database and that works great.

> 2. enable ado.net batching to batch CUD statements (batching doesn't
> work if you use a db identity schema like sql Identity)

I enabled batching at the configuration top level. Sorry for not
mentioning that as this is a good tip. I am using guids especially to
circumvent the identity problems.

Still having mixed feelings about the class design. Is having a
IList<Referrer> on the Post a good design? As it can contain an awful
lot of items and to me it now isn't feeling good anymore.
-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
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.


Reply via email to