protected override void OnSetUp() { using (var session = OpenSession()) using (var tx = session.BeginTransaction()) { var entity = new EntityWithAByteValue {ByteValue = 1}; session.Save(entity); tx.Commit(); } }
protected override void OnSetUp() { using (var session = OpenSession()) using (var tx = session.BeginTransaction()) { var entity = new EntityWithAByteValue { ByteValue = 1 }; session.Save(entity); tx.Commit(); } }
protected override void OnSetUp() { using (ISession session = OpenSession()) { using (ITransaction tx = session.BeginTransaction()) { var entity = new EntityWithAByteValue(); entity.ByteValue = 1; session.Save(entity); tx.Commit(); } } }