Table of Contents

Class MultiRowCollectionTypeParser<T, TState>

Namespace
Rinku.Mapping.Parsers.Defaults
Assembly
Rinku.dll

Reads a multi row collection and returns an empty collection when no row is available.

public class MultiRowCollectionTypeParser<T, TState> : MultiRowTypeParser<T, TState>, ITypeParser<T>, ITypeParser, IDisposable where TState : IMultiRowState<T>, new()

Type Parameters

T
TState
Inheritance
MultiRowCollectionTypeParser<T, TState>
Implements
Inherited Members
Extension Methods

Constructors

MultiRowCollectionTypeParser(ColumnInfo[])

Creates a collection parser for the supplied schema.

public MultiRowCollectionTypeParser(ColumnInfo[] schema)

Parameters

schema ColumnInfo[]

MultiRowCollectionTypeParser(ColumnInfo[], CommandBehavior)

Creates a collection parser for the supplied schema and reader behavior.

public MultiRowCollectionTypeParser(ColumnInfo[] schema, CommandBehavior behavior)

Parameters

schema ColumnInfo[]
behavior CommandBehavior

Methods

Default()

The value to return when the result has no row, an empty collection or optional, for instance.

public override T Default()

Returns

T