MongoRepository documentation
MongoRepositoryManagerT, TKey Methods |
The MongoRepositoryManagerT, TKey generic type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Drop |
Drops the collection.
|
![]() |
DropAllIndexes |
Drops all indexes on this repository.
|
![]() |
DropIndex |
Drops specified index on the repository.
|
![]() |
DropIndexes |
Drops specified indexes on the repository.
|
![]() |
EnsureIndex(String) |
Ensures that the desired index exist and creates it if it doesn't exist.
|
![]() |
EnsureIndex(String, Boolean, Boolean, Boolean) |
Ensures that the desired index exist and creates it if it doesn't exist.
|
![]() |
EnsureIndexes(IEnumerableString) |
Ensures that the desired indexes exist and creates them if they don't exist.
|
![]() |
EnsureIndexes(IMongoIndexKeys, IMongoIndexOptions) |
Ensures that the desired indexes exist and creates them if they don't exist.
|
![]() |
EnsureIndexes(IEnumerableString, Boolean, Boolean, Boolean) |
Ensures that the desired indexes exist and creates them if they don't exist.
|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetIndexes |
Gets the indexes for this repository.
|
![]() |
GetStats |
Gets stats for this repository.
|
![]() |
GetTotalDataSize | Obsolete.
Gets the total size for the repository (data + indexes).
|
![]() |
GetTotalStorageSize | Obsolete.
Gets the total storage size for the repository (data + indexes).
|
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IndexesExists |
Tests whether indexes exist.
|
![]() |
IndexExists |
Tests whether indexes exist.
|
![]() |
IsCapped |
Tests whether the repository is capped.
|
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ReIndex |
Runs the ReIndex command on this repository.
|
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
Validate |
Validates the integrity of the repository.
|
