Table of Contents

Interface ICacheGivingParser<T>

Namespace
Rinku.Mapping.Parsers
Assembly
Rinku.dll

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

CommandBehavior

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

cmd IDbCommand
reader DbDataReader

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

cmd IDbCommand
reader DbDataReader
ct CancellationToken

Returns

ValueTask<ITypeParser<T>>