Example #1
0
 public override void Close()
 {
     _rs = null;
     _current = null;
     if (!PreserveResults && _context != null)
         _context.Close();
     _context = null;
 }
Example #2
0
 public DataReader(Resultset rs, QueryContext context)
 {
     _rs = rs;
     _context = context;
     _binder = new Binder(rs);
     _rct = rs.RowType;
     _result_f = true;
 }