Performs a Count operation for the specified entity type based on the provided query.
Namespace:
Mindscape.LightSpeed.ServiceModelAssembly: Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public long CountQuery( string typename, Query query ) |
Visual Basic (Declaration) |
---|
Public Function CountQuery ( _ typename As String, _ query As Query _ ) As Long |
Parameters
- typename
- Type: System..::.String
The fully qualified type for which to return the Count of entity instances.
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
The query which is used to provide criteria for the Count operation.