On 19/11/2014 10:15, Ricardo Peres wrote:
How are you deleting, can you post the code?
RP
Hi Ricardo, sure here it's:
public void Remove(Parent item) {
var session = GetSession();
using (var t = session.BeginTransaction()) {
var obj = session.Merge(item);
item = obj;
session.Delete(item);
//Other cleanup sql statements execute directly on db
...
t.Commit();
}
}
Thanks.
--
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.