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.LLBLGenAssembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
Object GetScalar(
IEntityField2 field,
IExpression expressionToExecute,
AggregateFunction aggregateToApply,
IPredicate filter,
IGroupByCollection groupByClause,
IRelationCollection relations
) |
Visual Basic |
---|
Function GetScalar (
field As IEntityField2,
expressionToExecute As IExpression,
aggregateToApply As AggregateFunction,
filter As IPredicate,
groupByClause As IGroupByCollection,
relations As IRelationCollection
) As Object |
Visual C++ |
---|
Object^ GetScalar(
IEntityField2^ field,
IExpression^ expressionToExecute,
AggregateFunction aggregateToApply,
IPredicate^ filter,
IGroupByCollection^ groupByClause,
IRelationCollection^ relations
) |
F# |
---|
abstract GetScalar :
field : IEntityField2 *
expressionToExecute : IExpression *
aggregateToApply : AggregateFunction *
filter : IPredicate *
groupByClause : IGroupByCollection *
relations : IRelationCollection -> Object
|
Parameters
- field
- Type: IEntityField2
Field to which to apply the aggregate function and expression
- expressionToExecute
- Type: IExpression
The expression to execute. Can be null
- aggregateToApply
- Type: AggregateFunction
Aggregate function to apply.
- filter
- Type: IPredicate
The filter to apply to retrieve the scalar
- groupByClause
- Type: IGroupByCollection
The groupby clause to apply to retrieve the scalar
- relations
- Type: IRelationCollection
The relations part of the filter.
Return Value
Type:
Objectthe scalar value requested
See Also