Table of Contents

Class ParamInfoPlus

Namespace
Rinku.Mapping
Assembly
Rinku.dll

A member read plan that also carries a reading-order tweak and a fallback for when no column matches, the plan the reading-order and default attributes assemble.

public class ParamInfoPlus : ParamInfo
Inheritance
ParamInfoPlus
Inherited Members
Extension Methods

Constructors

ParamInfoPlus(Type, INullColHandler, INameComparer, IColModifier, IFallbackParserGetter)

A member read plan that also carries a reading-order tweak and a fallback for when no column matches, the plan the reading-order and default attributes assemble.

public ParamInfoPlus(Type Type, INullColHandler NullColHandler, INameComparer NameComparer, IColModifier colModifier, IFallbackParserGetter fallbackParserGetter)

Parameters

Type Type
NullColHandler INullColHandler
NameComparer INameComparer
colModifier IColModifier
fallbackParserGetter IFallbackParserGetter

Properties

ColModifier

public IColModifier ColModifier { get; set; }

Property Value

IColModifier

FallbackParserGetter

public IFallbackParserGetter FallbackParserGetter { get; set; }

Property Value

IFallbackParserGetter

RequireExactType

When true, a scalar value accepts only a column with the exact type.

public override bool RequireExactType { get; set; }

Property Value

bool

Methods

EnterSubtree(ref ColModifier, int)

Applies this slot's reading order rules to a nested value.

public override void EnterSubtree(ref ColModifier mod, int nbClaims)

Parameters

mod ColModifier
nbClaims int

FallbackTryGetParser(Type)

Provides a value when no result column matches this slot.

public override DbItemPlan? FallbackTryGetParser(Type type)

Parameters

type Type

Returns

DbItemPlan

The fallback plan or null when the slot is required.

UpdateColModifier(ref ColModifier)

Applies this slot's reading order rules.

public override void UpdateColModifier(ref ColModifier mod)

Parameters

mod ColModifier