예제 #1
0
        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;
        }
예제 #2
0
        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;
        }