I’m having problems deleting a row using fluent nhibernate. If i execute the below method using either of the commented-out delete statements the test passes and says all is cool, but when i check the data base the row is still there
[TestMethod]
public void DeleteAdhesiveWithoutCascade()
{
using (var session = sessionFactory.OpenSession())
{
//session.Delete(session.Load<Adhesive>(8));
//IQuery query = session.CreateQuery("FROM Adhesive WHERE ID = 8");
}
}
Try
or