private FieldTestDb CreateTestDb(Action <ChangeTracker> changeTrack = null, Action <ModelBuilder> modelBuilder = null)
        {
            var db = new FieldTestDb(InMemoryConnectionHelper.Generate(), changeTrack, modelBuilder);

            db.Database.EnsureCreated();
            return(db);
        }
 public AuditLoggingTest()
 {
     SpyAuditProccesor = new SpyAuditProccesor();
     Db = new AuditLoggingTestDb(SpyAuditProccesor, InMemoryConnectionHelper.Generate());
     Db.Database.EnsureCreated();
 }
 public EntityStateTest()
 {
     _options = InMemoryConnectionHelper.Generate();
 }
 public TableNamingConventionTest()
 {
     _options = InMemoryConnectionHelper.Generate();
 }
Esempio n. 5
0
 public EnumConversionTest()
 {
     _options = InMemoryConnectionHelper.Generate();
 }
 public WriteTimeTest()
 {
     Db = new WriteTimeTestDb(InMemoryConnectionHelper.Generate());
     Db.Database.EnsureCreated();
 }