MongoRepositoryManager(T, TKey) Methods

MongoRepository

MongoRepositoryManagerT, TKey Methods

The MongoRepositoryManagerT, TKey generic type exposes the following members.

Methods
  Name Description
Public method Drop
Drops the collection.
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 Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetIndexes
Gets the indexes for this repository.
Public method GetStats
Gets stats for this repository.
Public method GetTotalDataSize Obsolete.
Gets the total size for the repository (data + indexes).
Public method GetTotalStorageSize Obsolete.
Gets the total storage size for the repository (data + indexes).
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexesExists
Tests whether indexes exist.
Public method IndexExists
Tests whether indexes exist.
Public method IsCapped
Tests whether the repository is capped.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ReIndex
Runs the ReIndex command on this repository.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Validate
Validates the integrity of the repository.
Top
See Also