public void Setup() { var fa = new PropertyAccessEntity { Data = "first" }; using (var tx = Session.BeginTransaction()) { id = (int)Session.Save(fa); tx.Commit(); } using (var tx = Session.BeginTransaction()) { fa.Data = "second"; tx.Commit(); } }
public void Setup() { var fa = new PropertyAccessEntity { Data = "first" }; using (var tx = Session.BeginTransaction()) { id = (int)Session.Save(fa); tx.Commit(); } using (var tx = Session.BeginTransaction()) { fa.Data = "second"; tx.Commit(); } }