Click or drag to resize

IDataAccessAdapterGetScalar Method (IEntityField2, AggregateFunction)

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:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
Object GetScalar(
	IEntityField2 field,
	AggregateFunction aggregateToApply
)

Parameters

field
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityField2
Field to which to apply the aggregate function and expression
aggregateToApply
Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateFunction
Aggregate function to apply.

Return Value

Type: Object
the scalar value requested
See Also