Interface IReaderHoldingParser<T>
Returns a result that continues using the reader while it is consumed. Implement this for a custom streamed result so the caller can finish or release the reader at the correct time.
public interface IReaderHoldingParser<T> : ITypeParser<T>, ITypeParser, IDisposable
Type Parameters
T
- Inherited Members
- Extension Methods
Methods
ParseThen<TDone>(DbDataReader, TDone)
Reads from a reader the caller owns, running onDone once the rows are walked out
or the walk is left early.
T ParseThen<TDone>(DbDataReader reader, TDone onDone) where TDone : IReaderDone
Parameters
readerDbDataReaderonDoneTDone
Returns
- T
Type Parameters
TDone