internal void SetRecordSource(RecordState newSource, bool hasData) { this._source = !hasData ? (RecordState)null : newSource; this._status = BridgeDataRecord.Status.Open; this._lastColumnRead = -1; this._lastDataOffsetRead = -1L; this._lastOrdinalCheckedForNull = -1; this._lastValueCheckedForNull = (object)null; }
private T Close <T>(BridgeDataRecord.Status status, Func <T> close) { this._status = status; this._source = (RecordState)null; return(close()); }