MongoRepository(T, TKey).Count Method

MongoRepository

MongoRepositoryT, TKeyCount Method
Counts the total entities in the repository.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
public virtual long Count()
Public Overridable Function Count As Long
public:
virtual long long Count()
abstract Count : unit -> int64 
override Count : unit -> int64 

Return Value

Type: Int64
Count of entities in the collection.

Implements

IRepositoryT, TKeyCount
See Also