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