What are possible reasons why NHibernate does not perform delete operation?
public bool Delete(MyType model)
{
using (var session = _sessionFactory.OpenSession())
session.Delete(model);
return true;
}
I tried to call session.Clear() method, that didn't help either. I'm kind a confused. :/
MyType in this case has only Id&Name. Creating operation works successfully.