IRepositoryManager(T, TKey) Methods

MongoRepository

IRepositoryManagerT, TKey Methods

The IRepositoryManagerT, TKey generic type exposes the following members.

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