Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SqlExecutionController"/> class.
 /// </summary>
 /// <param name="sqlScriptExecutor">The SQL script executor.</param>
 /// <param name="deploymentRequestHandler">The deployment request handler.</param>
 /// <param name="sqlDeploymentRequestHandler">The SQL deployment request handler.</param>
 /// <param name="clearSourceScriptsHelper">The clear source scripts helper.</param>
 public SqlExecutionController(ISqlScriptExecutor sqlScriptExecutor,
                               IDeploymentRequestHandler deploymentRequestHandler, ISqlDeploymentRequestHandler sqlDeploymentRequestHandler,
                               IClearSourceScriptsHelper clearSourceScriptsHelper)
 {
     this.sqlScriptExecutor           = sqlScriptExecutor;
     this.deploymentRequestHandler    = deploymentRequestHandler;
     this.sqlDeploymentRequestHandler = sqlDeploymentRequestHandler;
     this.clearSourceScriptsHelper    = clearSourceScriptsHelper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SqlExecutionController"/> class.
 /// </summary>
 /// <param name="sqlScriptExecutor">The SQL script executor.</param>
 /// <param name="deploymentRequestHandler">The deployment request handler.</param>
 /// <param name="sqlDeploymentRequestHandler">The SQL deployment request handler.</param>
 /// <param name="clearSourceScriptsHelper">The clear source scripts helper.</param>
 public SqlExecutionController(ISqlScriptExecutor sqlScriptExecutor,
     IDeploymentRequestHandler deploymentRequestHandler, ISqlDeploymentRequestHandler sqlDeploymentRequestHandler,
     IClearSourceScriptsHelper clearSourceScriptsHelper)
 {
     this.sqlScriptExecutor = sqlScriptExecutor;
     this.deploymentRequestHandler = deploymentRequestHandler;
     this.sqlDeploymentRequestHandler = sqlDeploymentRequestHandler;
     this.clearSourceScriptsHelper = clearSourceScriptsHelper;
 }