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#
public Object CalculateQuery(
	string typename,
	string calculation,
	string attribute,
	Query query
)
Visual Basic (Declaration)
Public 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.

Implements

IDistributedUnitOfWorkContract..::.CalculateQuery(String, String, String, Query)

See Also