Table of Contents

Method GetFieldAsExpression

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

GetFieldAsExpression(ISelectItem)

Gets the expression associated with a field.

public Expression GetFieldAsExpression(ISelectItem selectItem)

Parameters

selectItem ISelectItem

The column to query.

Returns

Expression

The expression that calculates the field's value.

GetFieldAsExpression(string)

Gets the expression associated with a field.

public Expression GetFieldAsExpression(string fieldName)

Parameters

fieldName string

The name of the column to query.

Returns

Expression

The expression that calculates the field's value.