IRepositoryManager(T) Methods

MongoRepository

IRepositoryManagerT Methods

The IRepositoryManagerT generic type exposes the following members.

Methods
  Name Description
Public method Drop
Drops the repository.
(Inherited from IRepositoryManagerT, TKey.)
Public method DropAllIndexes
Drops all indexes on this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public method DropIndex
Drops specified index on the repository.
(Inherited from IRepositoryManagerT, TKey.)
Public method DropIndexes
Drops specified indexes on the repository.
(Inherited from IRepositoryManagerT, TKey.)
Public method EnsureIndex(String)
Ensures that the desired index exist and creates it if it doesn't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public method EnsureIndex(String, Boolean, Boolean, Boolean)
Ensures that the desired index exist and creates it if it doesn't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public method EnsureIndexes(IEnumerableString)
Ensures that the desired indexes exist and creates them if they don't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public method EnsureIndexes(IMongoIndexKeys, IMongoIndexOptions)
Ensures that the desired indexes exist and creates them if they don't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public method EnsureIndexes(IEnumerableString, Boolean, Boolean, Boolean)
Ensures that the desired indexes exist and creates them if they don't exist.
(Inherited from IRepositoryManagerT, TKey.)
Public method GetIndexes
Gets the indexes for this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public method GetStats
Gets stats for this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public method GetTotalDataSize
Gets the total size for the repository (data + indexes).
(Inherited from IRepositoryManagerT, TKey.)
Public method GetTotalStorageSize
Gets the total storage size for the repository (data + indexes).
(Inherited from IRepositoryManagerT, TKey.)
Public method IndexesExists
Tests whether indexes exist.
(Inherited from IRepositoryManagerT, TKey.)
Public method IndexExists
Tests whether indexes exist.
(Inherited from IRepositoryManagerT, TKey.)
Public method IsCapped
Tests whether the repository is capped.
(Inherited from IRepositoryManagerT, TKey.)
Public method ReIndex
Runs the ReIndex command on this repository.
(Inherited from IRepositoryManagerT, TKey.)
Public method Validate
Validates the integrity of the repository.
(Inherited from IRepositoryManagerT, TKey.)
Top
See Also