Interface IStepParser<T>
Reads one complete value from consecutive rows. It starts on the first row and leaves the reader on the final row used by that value. Do not use it when finding the end requires reading a later row.
public interface IStepParser<T> : ITypeParser<T>, ITypeParser, IDisposable
Type Parameters
T
- Inherited Members
- Extension Methods
Methods
ParseStep(DbDataReader)
Parses one step. Enters on the step's first row, leaves the reader on the step's last row and never reads past it
T ParseStep(DbDataReader reader)
Parameters
readerDbDataReader
Returns
- T
ParseStepAsync(DbDataReader, CancellationToken)
Parses one step. Enters on the step's first row, leaves the reader on the step's last row and never reads past it
ValueTask<T> ParseStepAsync(DbDataReader reader, CancellationToken ct = default)
Parameters
readerDbDataReaderctCancellationToken
Returns
- ValueTask<T>