Richard mailed me privately with the following:
session.CreateQuery("delete from Referrer r where r.Post = ?")
.SetEntity(0, post)
.ExecuteUpdate();
http://ayende.com/Blog/archive/2009/05/28/nhibernate-ndash-executable-dml.aspx
Seeing this made me wonder why I didn't try this :). Probably guessing
that CreateQuery was only ment for selections.
Thnx Richard!
--
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.