コード例 #1
0
 public RecordingDbCommand(CaptureLogsLogger logger, ExecutedSqlScript[] runScripts, string schemaTableName,
                           Dictionary <string, Func <object> > scalarResults, Dictionary <string, Func <int> > nonQueryResults)
 {
     this.logger          = logger;
     this.runScripts      = runScripts;
     this.schemaTableName = schemaTableName;
     this.scalarResults   = scalarResults;
     this.nonQueryResults = nonQueryResults;
     Parameters           = new RecordingDataParameterCollection(logger);
 }
コード例 #2
0
ファイル: RecordingDbCommand.cs プロジェクト: nagorsky/DbUp
 public RecordingDbCommand(Action<DatabaseAction> add, bool schemaTableExists)
 {
     this.add = add;
     this.schemaTableExists = schemaTableExists;
     Parameters = new RecordingDataParameterCollection(add);
 }
コード例 #3
0
ファイル: RecordingDbCommand.cs プロジェクト: yeowgit/DbUp
 public RecordingDbCommand(Action <DatabaseAction> add, bool schemaTableExists)
 {
     this.add = add;
     this.schemaTableExists = schemaTableExists;
     Parameters             = new RecordingDataParameterCollection(add);
 }