Example #1
0
        public InternalDataReader(InternalDbSession dbSession, IDataReader reader)
        {
            Utils.CheckNull(dbSession);
            Utils.CheckNull(reader);

            this._dbSession = dbSession;
            this._reader    = reader;
        }
Example #2
0
        public InternalDataReader(InternalDbSession dbSession, IDataReader reader, IDbCommand cmd, List <OutputParameter> outputParameters)
        {
            Utils.CheckNull(dbSession);
            Utils.CheckNull(reader);

            this._dbSession        = dbSession;
            this._reader           = reader;
            this._cmd              = cmd;
            this._outputParameters = outputParameters;
        }