Performs a Calculate operation for the specified entity type over the nominated attribute with the specified query.

Namespace:  Mindscape.LightSpeed.ServiceModel
Assembly:  Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
[OperationContractAttribute]
[UseNetDataContractSerializerAttribute]
Object CalculateQuery(
	string typename,
	string calculation,
	string attribute,
	Query query
)
Visual Basic (Declaration)
<OperationContractAttribute> _
<UseNetDataContractSerializerAttribute> _
Function CalculateQuery ( _
	typename As String, _
	calculation As String, _
	attribute As String, _
	query As Query _
) As Object

Parameters

typename
Type: System..::.String
The fully qualified type for which to perform the Calculate operation.
calculation
Type: System..::.String
The calculation to be performed.
attribute
Type: System..::.String
The attribute of the entity which the operation is to be performed on.
query
Type: Mindscape.LightSpeed.Querying..::.Query
The query which specifies the criteria and filtering to be applied.

Return Value

The result of the calculation.

See Also