Class ParamInfoPlus
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
TypeTypeNullColHandlerINullColHandlerNameComparerINameComparercolModifierIColModifierfallbackParserGetterIFallbackParserGetter
Properties
ColModifier
public IColModifier ColModifier { get; set; }
Property Value
FallbackParserGetter
public IFallbackParserGetter FallbackParserGetter { get; set; }
Property Value
RequireExactType
When true, a scalar value accepts only a column with the exact type.
public override bool RequireExactType { get; set; }
Property Value
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
modColModifiernbClaimsint
FallbackTryGetParser(Type)
Provides a value when no result column matches this slot.
public override DbItemPlan? FallbackTryGetParser(Type type)
Parameters
typeType
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
modColModifier