Interface ICacheGivingParser<T>
Records parameter settings and gets a parser that accepts the reader columns.
public interface ICacheGivingParser<T> : ICacheGivingParser
Type Parameters
T
- Extension Methods
Properties
Behavior
The reader behavior this parser wants when the command is executed.
CommandBehavior Behavior { get; }
Property Value
Methods
UpdateCache(IDbCommand, DbDataReader)
Builds the parser for the reader's columns and records what the run taught about the command.
ITypeParser<T> UpdateCache(IDbCommand cmd, DbDataReader reader)
Parameters
cmdIDbCommandreaderDbDataReader
Returns
- ITypeParser<T>
UpdateCacheAsync(IDbCommand, DbDataReader, CancellationToken)
Builds the parser for the reader's columns and records what the run taught about the command.
ValueTask<ITypeParser<T>> UpdateCacheAsync(IDbCommand cmd, DbDataReader reader, CancellationToken ct = default)
Parameters
cmdIDbCommandreaderDbDataReaderctCancellationToken
Returns
- ValueTask<ITypeParser<T>>