DataAccessAdapterCore.GetScalar Method (IEntityField2, IExpression, AggregateFunction, IPredicate, IGroupByCollection) |
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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntaxpublic Object GetScalar(
IEntityField2 field,
IExpression expressionToExecute,
AggregateFunction aggregateToApply,
IPredicate filter,
IGroupByCollection groupByClause
)
Public Function GetScalar (
field As IEntityField2,
expressionToExecute As IExpression,
aggregateToApply As AggregateFunction,
filter As IPredicate,
groupByClause As IGroupByCollection
) As Object
Parameters
- field
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityField2
Field to which to apply the aggregate function and expression - expressionToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IExpression
The expression to execute. Can be null - aggregateToApply
- Type: SD.LLBLGen.Pro.ORMSupportClasses.AggregateFunction
Aggregate function to apply. - filter
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicate
The filter to apply to retrieve the scalar - groupByClause
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IGroupByCollection
The groupby clause to apply to retrieve the scalar
Return Value
Type:
Objectthe scalar value requested
Implements
IDataAccessAdapter.GetScalar(IEntityField2, IExpression, AggregateFunction, IPredicate, IGroupByCollection)
See Also