public void InsertTest01() { using (var session = Domain.OpenSession()) using (var transaction = session.OpenTransaction()) { _ = new ALotOfFieldsEntityValid(); Assert.DoesNotThrow(() => session.SaveChanges()); } }
protected override void PopulateData() { using (var session = Domain.OpenSession()) using (var transaction = session.OpenTransaction()) { _ = new ALotOfFieldsEntityValid(); _ = new ALotOfFieldsEntityVersionized(); transaction.Complete(); } }