Sets a SQL function to be applied to this expression (attribute).

Namespace:  Mindscape.LightSpeed.Querying
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
IFunctionWrappableExpression AddFunction(
	string name,
	int implicitArgumentIndex,
	QueryExpression[] arguments
)
Visual Basic (Declaration)
Function AddFunction ( _
	name As String, _
	implicitArgumentIndex As Integer, _
	arguments As QueryExpression() _
) As IFunctionWrappableExpression

Parameters

name
Type: System..::.String
The native SQL name of the function.
implicitArgumentIndex
Type: System..::.Int32
The index at which the expression on which the function operates will appear in the arguments to the SQL function.
arguments
Type: array< Mindscape.LightSpeed.Querying..::.QueryExpression >[]()[]
Arguments to be passed to the function.

Return Value

An expression representing the results of applying the function to the implementing expression.

See Also