NHibernate delete operation
What are the possible reasons why NHibernate is not performing the delete operation?
public bool Delete(MyType model)
{
using (var session = _sessionFactory.OpenSession())
session.Delete(model);
return true;
}
I tried calling session.Clear () method which didn't help either. I'm confused.:/
MyType in this case only has Id & Name. Operation creation completed successfully.
0
a source to share
2 answers