상속: IMigrationService
예제 #1
0
 private IDatabaseManager InitializeDBManager()
 {
     var migrationService = new MigrationService(new List<IMigrationScript>
     {
         new InitialMS(),
         new Migration1(),
         new Migration2()
     });
     var connectionFactory = new ConnectionFactory(migrationService);
     var databaseManager = new DatabaseManager(connectionFactory);
     return databaseManager;
 }
예제 #2
0
 public ConnectionFactory(MigrationService migrationService)
 {
     _migrationService = migrationService;
 }