public InternalDataReader(InternalAdoSession dbSession, IDataReader reader, IDbCommand cmd) { Checks.NotNull(dbSession, "dbSession"); Checks.NotNull(reader, "reader"); Checks.NotNull(cmd, "cmd"); this._dbSession = dbSession; this._reader = reader; this._cmd = cmd; }
public InternalDataReader(InternalAdoSession adoSession, IDataReader reader, IDbCommand cmd, List <OutputParameter> outputParameters) { Checks.NotNull(adoSession, "dbSession"); Checks.NotNull(reader, "reader"); Checks.NotNull(cmd, "cmd"); this._adoSession = adoSession; this._reader = reader; this._cmd = cmd; this._outputParameters = outputParameters; }