Exemplo n.º 1
0
 public FakeDatabase(
     DbContextService <IModel> model,
     RecordingDataStoreCreator dataStoreCreator,
     FakeRelationalConnection connection,
     TestMigrator migrator,
     ILoggerFactory loggerFactory)
     : base(model, dataStoreCreator, connection, migrator, loggerFactory)
 {
 }
Exemplo n.º 2
0
 public FakeDataStoreServices(
     FakeDataStore store,
     RecordingDataStoreCreator creator,
     FakeRelationalConnection connection,
     FakeValueGeneratorCache valueGeneratorCache,
     FakeDatabase database,
     ModelBuilderFactory modelBuilderFactory,
     TestMigrator migrator)
 {
     _store               = store;
     _creator             = creator;
     _connection          = connection;
     _valueGeneratorCache = valueGeneratorCache;
     _database            = database;
     _modelBuilderFactory = modelBuilderFactory;
     _migrator            = migrator;
 }
Exemplo n.º 3
0
 public TestMigrator(
     HistoryRepository historyRepository,
     MigrationAssembly migrationAssembly,
     FakeModelDiffer modelDiffer,
     FakeMigrationOperationSqlGeneratorFactory ddlSqlGeneratorFactory,
     FakeSqlGenerator dmlSqlGenerator,
     SqlStatementExecutor sqlExecutor,
     RecordingDataStoreCreator storeCreator,
     FakeRelationalConnection connection,
     ILoggerFactory loggerFactory)
     : base(
         historyRepository,
         migrationAssembly,
         modelDiffer,
         ddlSqlGeneratorFactory,
         dmlSqlGenerator,
         sqlExecutor,
         storeCreator,
         connection,
         loggerFactory)
 {
 }