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); }
public RecordingDbCommand(Action<DatabaseAction> add, bool schemaTableExists) { this.add = add; this.schemaTableExists = schemaTableExists; Parameters = new RecordingDataParameterCollection(add); }
public RecordingDbCommand(Action <DatabaseAction> add, bool schemaTableExists) { this.add = add; this.schemaTableExists = schemaTableExists; Parameters = new RecordingDataParameterCollection(add); }