> You don't say what goes wrong when the referrers count becomes large.

Deleting takes much longer as the relation is lazy it is first
fetching all data and then deleting each item/row seperately.

> As for deleting, yes I'd use a separate Delete HQL statement for the
> Referrers before deleting the Page.

I am having problems with the delete statement. I thought that I could
do something like:

ISession.Delete("from Referrer r where r.Post=?", post)

- OR -

ISession.Delete("from Referrer r where r.Post.Id=?", post.Id)


But both fail.

-- 
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