Table of Contents

Method SetFieldAsFunction

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

SetFieldAsFunction(ISelectItem, Function)

Sets a field value to be calculated using a database function.

public void SetFieldAsFunction(ISelectItem selectItem, Function function)

Parameters

selectItem ISelectItem

The column to set.

function Function

The database function that will calculate the value.

Remarks

Common uses include UPPER(), LOWER(), NOW(), CURRENT_TIMESTAMP, etc.

SetFieldAsFunction(string, Function)

Sets a field value to be calculated using a database function.

public void SetFieldAsFunction(string fieldName, Function function)

Parameters

fieldName string

The name of the column to set.

function Function

The database function that will calculate the value.

Remarks

Common uses include UPPER(), LOWER(), NOW(), CURRENT_TIMESTAMP, etc.