Пример #1
0
 public DatabaseDeployment(
     ILogProvider logProvider,
     ISqlExecuter sqlExecuter,
     DatabaseCleaner databaseCleaner,
     DataMigrationScriptsExecuter dataMigrationScriptsExecuter,
     IDatabaseGenerator databaseGenerator,
     IConceptDataMigrationExecuter dataMigrationFromCodeExecuter)
 {
     _logger          = logProvider.GetLogger(GetType().Name);
     _sqlExecuter     = sqlExecuter;
     _databaseCleaner = databaseCleaner;
     _dataMigrationScriptsExecuter  = dataMigrationScriptsExecuter;
     _databaseGenerator             = databaseGenerator;
     _dataMigrationFromCodeExecuter = dataMigrationFromCodeExecuter;
 }
Пример #2
0
 public ApplicationGenerator(
     ILogProvider logProvider,
     ISqlExecuter sqlExecuter,
     IDslModel dslModel,
     IDomainObjectModel domGenerator,
     IPluginsContainer <IGenerator> generatorsContainer,
     DatabaseCleaner databaseCleaner,
     DataMigrationScripts dataMigration,
     IDatabaseGenerator databaseGenerator,
     IDslScriptsProvider dslScriptsLoader,
     IConceptDataMigrationExecuter dataMigrationFromCodeExecuter)
 {
     _deployPackagesLogger          = logProvider.GetLogger("DeployPackages");
     _performanceLogger             = logProvider.GetLogger("Performance");
     _sqlExecuter                   = sqlExecuter;
     _dslModel                      = dslModel;
     _domGenerator                  = domGenerator;
     _generatorsContainer           = generatorsContainer;
     _databaseCleaner               = databaseCleaner;
     _dataMigration                 = dataMigration;
     _databaseGenerator             = databaseGenerator;
     _dslScriptsLoader              = dslScriptsLoader;
     _dataMigrationFromCodeExecuter = dataMigrationFromCodeExecuter;
 }