Performs a Count All operation for the specified entity type.

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 long Count(
	string typename
)
Visual Basic (Declaration)
Public Function Count ( _
	typename As String _
) As Long

Parameters

typename
Type: System..::.String
The fully qualified type for which to return the Count of entity instances.

Return Value

The current count of this entity type which is stored in the database.

Implements

IDistributedUnitOfWorkContract..::.Count(String)

See Also