Table of Contents

Namespace Rinku.Mapping.Parsers

Classes

BaseTypeParser<T>

Base class for a custom result shape. Implement Parse(DbDataReader) and Default() then use the inherited query methods to run commands with that shape.

EnumHelper

Helpers for bridging sequences into async streams.

Structs

GoToNextResultSet

Steps to the next result set, for a reader that carries more than one.

LetGoOfReader

Lets go of the reader, for a run that opened it and left the command to its caller.

LetGoOfReaderAndCommand

Lets go of the reader and the command, for a run that owns both.

Interfaces

ICache

Records parameter settings from a command after it has run.

ICacheGivingParser

Records parameter settings and gets a parser that accepts the reader columns.

ICacheGivingParser<T>

Records parameter settings and gets a parser that accepts the reader columns.

IMultiRowState<T>

Collects rows for one value and builds that value when its group ends.

IReaderDone

What to do with a reader once the result that held it is finished.

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.

ISimpleParser

Reads the current row through a delegate and never advances the reader.

ISimpleParser<T>

The typed form of ISimpleParser. It reads one row without advancing the reader.

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.

ITypeParser

Describes a parser that reads query rows. Use ITypeParser<T> for a typed result.

ITypeParser<T>

Reads query rows as T. Implement one to add a result shape that can be requested through Query<T>.