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 SqlScriptProvider(IJobConfigurationParser jobConfigurationParser) { if (jobConfigurationParser == null) { throw new ArgumentNullException("jobConfigurationParser"); } this._jobConfigurationParser = jobConfigurationParser; }