Table of Contents

Class ConvertedScalarPlan

Namespace
Rinku.Mapping.Defaults
Assembly
Rinku.dll

A terminal plan that reads a column through the standard typed reader API and emits a conversion.

public sealed class ConvertedScalarPlan : ScalarDbItemPlan, ISimpleDbItemPlan, IColumnOrdinalPlan
Inheritance
ConvertedScalarPlan
Implements
Inherited Members
Extension Methods

Constructors

ConvertedScalarPlan(Type, ITypeConverter, string, INullColHandler, int)

A terminal plan that reads a column through the standard typed reader API and emits a conversion.

public ConvertedScalarPlan(Type parentType, ITypeConverter converter, string parameterName, INullColHandler nullHandler, int ordinal)

Parameters

parentType Type
converter ITypeConverter
parameterName string
nullHandler INullColHandler
ordinal int

Properties

Converter

The conversion emitted after the standard column read.

public ITypeConverter Converter { get; }

Property Value

ITypeConverter

Methods

EmitValue(ColumnInfo, Generator)

Writes the non null read for column and leaves exactly one OutputType value on the evaluation stack.

protected override void EmitValue(ColumnInfo column, Generator generator)

Parameters

column ColumnInfo

The result column to read.

generator Generator

The instruction writer to use.