public DeploymentService(IJobConfigurationParser jobConfigurationParser, ISqlScriptProvider sqlScriptProvider, IFileService fileService, ISqlExecutionService sqlExecutionService ) { if (jobConfigurationParser == null) { throw new ArgumentNullException("jobConfigurationParser"); } if (sqlScriptProvider == null) { throw new ArgumentNullException("sqlScriptProvider"); } if (fileService == null) { throw new ArgumentNullException("fileService"); } if (sqlExecutionService == null) { throw new ArgumentNullException("sqlExecutionService"); } _jobConfigurationParser = jobConfigurationParser; _sqlScriptProvider = sqlScriptProvider; _fileService = fileService; _sqlExecutionService = sqlExecutionService; }
public OracleEventStore(Func<OracleConnection> connectionFactory, EventStoreDatabaseSchemaSettings schemaSettings, ISqlScriptProvider scriptProvider) { if (connectionFactory == null) throw new ArgumentNullException(nameof(connectionFactory)); if (schemaSettings == null) throw new ArgumentNullException(nameof(schemaSettings)); if (scriptProvider == null) throw new ArgumentNullException(nameof(scriptProvider)); _connectionFactory = connectionFactory; _schemaSettings = schemaSettings; _scriptProvider = scriptProvider; }
public OracleEventStore(Func <OracleConnection> connectionFactory, EventStoreDatabaseSchemaSettings schemaSettings, ISqlScriptProvider scriptProvider) { if (connectionFactory == null) { throw new ArgumentNullException(nameof(connectionFactory)); } if (schemaSettings == null) { throw new ArgumentNullException(nameof(schemaSettings)); } if (scriptProvider == null) { throw new ArgumentNullException(nameof(scriptProvider)); } _connectionFactory = connectionFactory; _schemaSettings = schemaSettings; _scriptProvider = scriptProvider; }