Ejemplo n.º 1
0
 public DatabaseGenerator(
     SqlTransactionBatches sqlTransactionBatches,
     IDslModel dslModel,
     IPluginsContainer <IConceptDatabaseDefinition> plugins,
     IConceptApplicationRepository conceptApplicationRepository,
     ILogProvider logProvider,
     DatabaseGeneratorOptions options)
 {
     _sqlTransactionBatches = sqlTransactionBatches;
     _dslModel = dslModel;
     _plugins  = plugins;
     _conceptApplicationRepository = conceptApplicationRepository;
     _logger               = logProvider.GetLogger("DatabaseGenerator");
     _conceptsLogger       = logProvider.GetLogger("DatabaseGenerator Concepts");
     _deployPackagesLogger = logProvider.GetLogger("DeployPackages");
     _performanceLogger    = logProvider.GetLogger("Performance");
     _options              = options;
 }
Ejemplo n.º 2
0
 public DatabaseGenerator(
     ISqlExecuter sqlExecuter,
     IDslModel dslModel,
     IPluginsContainer<IConceptDatabaseDefinition> plugins,
     IConceptApplicationRepository conceptApplicationRepository,
     ILogProvider logProvider,
     DatabaseGeneratorOptions options)
 {
     _sqlExecuter = sqlExecuter;
     _dslModel = dslModel;
     _plugins = plugins;
     _conceptApplicationRepository = conceptApplicationRepository;
     _logger = logProvider.GetLogger("DatabaseGenerator");
     _conceptsLogger = logProvider.GetLogger("DatabaseGenerator Concepts");
     _deployPackagesLogger = logProvider.GetLogger("DeployPackages");
     _performanceLogger = logProvider.GetLogger("Performance");
     _options = options;
 }