Click or drag to resize

DataAccessAdapterCoreGetScalar Method (IEntityField2, IExpression, AggregateFunction, IPredicate, IGroupByCollection, IRelationCollection)

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.9.0.0 (5.9.0)
Syntax
public virtual Object GetScalar(
	IEntityField2 field,
	IExpression expressionToExecute,
	AggregateFunction aggregateToApply,
	IPredicate filter,
	IGroupByCollection groupByClause,
	IRelationCollection relations
)

Parameters

field
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityField2
Field to which to apply the aggregate function and expression
expressionToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIExpression
The expression to execute. Can be null
aggregateToApply
Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateFunction
Aggregate function to apply.
filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The filter to apply to retrieve the scalar
groupByClause
Type: SD.LLBLGen.Pro.ORMSupportClassesIGroupByCollection
The groupby clause to apply to retrieve the scalar
relations
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The relations part of the filter.

Return Value

Type: Object
the scalar value requested

Implements

IDataAccessAdapterGetScalar(IEntityField2, IExpression, AggregateFunction, IPredicate, IGroupByCollection, IRelationCollection)
See Also