Table of Contents

Method GetFieldValue

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

GetFieldValue(int, DataType)

Gets the value of a field at the specified index, returned as the CLR type that corresponds to dataType.

public object GetFieldValue(int fieldIndex, DataType dataType)

Parameters

fieldIndex int

The zero-based column index.

dataType DataType

The DataType that controls which typed getter is used.

Returns

object

The field value boxed as object, or null if the field is SQL NULL.

GetFieldValue(string, DataType)

Gets the value of a named field, returned as the CLR type that corresponds to dataType.

public virtual object GetFieldValue(string fieldName, DataType dataType)

Parameters

fieldName string

The column name.

dataType DataType

The DataType that controls which typed getter is used.

Returns

object

The field value boxed as object, or null if the field is SQL NULL.