Gets a scalar value, calculated with the aggregate and expression specified. the field specified is the field the expression and aggregate are applied on.

Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
Object GetScalar(
	IEntityField2 field,
	AggregateFunction aggregateToApply
)
Visual Basic
Function GetScalar ( 
	field As IEntityField2,
	aggregateToApply As AggregateFunction
) As Object
Visual C++
Object^ GetScalar(
	IEntityField2^ field, 
	AggregateFunction aggregateToApply
)
F#
abstract GetScalar : 
        field : IEntityField2 * 
        aggregateToApply : AggregateFunction -> Object 

Parameters

field
Type: IEntityField2
Field to which to apply the aggregate function and expression
aggregateToApply
Type: AggregateFunction
Aggregate function to apply.

Return Value

Type: Object
the scalar value requested

See Also