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
) |
Visual Basic |
---|
Function GetScalar (
field As IEntityField2,
expressionToExecute As IExpression,
aggregateToApply As AggregateFunction,
filter As IPredicate
) As Object |
Visual C++ |
---|
Object^ GetScalar(
IEntityField2^ field,
IExpression^ expressionToExecute,
AggregateFunction aggregateToApply,
IPredicate^ filter
) |
F# |
---|
abstract GetScalar :
field : IEntityField2 *
expressionToExecute : IExpression *
aggregateToApply : AggregateFunction *
filter : IPredicate -> 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
Return Value
Type:
Objectthe scalar value requested
See Also