Class NullableTypeHandle
The null rule that substitutes the type's default when a column is NULL.
public class NullableTypeHandle : INullColHandler
- Inheritance
-
NullableTypeHandle
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Singleton
public static readonly NullableTypeHandle Instance
Field Value
Methods
HandleNull(Type, Type, string, Generator, NullSetPoint)
Emits how a NULL is handled for this value.
public Label? HandleNull(Type parentType, Type closedType, string paramName, Generator generator, NullSetPoint nullSetPoint)
Parameters
parentTypeTypeclosedTypeTypeparamNamestringgeneratorGeneratornullSetPointNullSetPoint
Returns
HandleNullForMultiRow(Type, Type, string, LocalBuilder, Generator, NullSetPoint)
Emits how a NULL element signal is handled in a multi-row collection, storing the result in the element local.
public Label? HandleNullForMultiRow(Type bufferType, Type elementType, string paramName, LocalBuilder elementLocal, Generator generator, NullSetPoint nullSetPoint)
Parameters
bufferTypeTypeelementTypeTypeparamNamestringelementLocalLocalBuildergeneratorGeneratornullSetPointNullSetPoint
Returns
IsBr_S(Type)
Whether the branch this handler emits is short-form, an emit detail.
public bool IsBr_S(Type closedType)
Parameters
closedTypeType
Returns
NeedNullJumpSetPoint(Type)
Returns whether the generated reader needs a target for this null rule.
public bool NeedNullJumpSetPoint(Type closedType)
Parameters
closedTypeType
Returns
SetAbortOnNull(Type, bool)
The same rule switched to also collapse the owning object when the value is NULL, or back.
public INullColHandler SetAbortOnNull(Type type, bool abortOnNull)