MongoIndexManagerBaseTDocument Class |
Inheritance Hierarchy
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntaxpublic abstract class MongoIndexManagerBase<TDocument> : IMongoIndexManager<TDocument>
Public MustInherit Class MongoIndexManagerBase(Of TDocument)
Implements IMongoIndexManager(Of TDocument)
[<AbstractClassAttribute>]
type MongoIndexManagerBase<'TDocument> =
class
interface IMongoIndexManager<'TDocument>
end
Type Parameters
- TDocument
- The type of the document.
The MongoIndexManagerBaseTDocument type exposes the following members.
Constructors
Properties
Methods
| Name | Description |
---|
 | CreateMany(IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
 | CreateMany(IClientSessionHandle, IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
 | CreateManyAsync(IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
 | CreateManyAsync(IClientSessionHandle, IEnumerableCreateIndexModelTDocument, CancellationToken) |
Creates multiple indexes.
|
 | CreateOne(IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
 | CreateOne(IClientSessionHandle, IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
 | CreateOneAsync(IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
 | CreateOneAsync(IClientSessionHandle, IndexKeysDefinitionTDocument, CreateIndexOptions, CancellationToken) |
Creates an index.
|
 | DropAll(CancellationToken) |
Drops all the indexes.
|
 | DropAll(IClientSessionHandle, CancellationToken) |
Drops all the indexes.
|
 | DropAllAsync(CancellationToken) |
Drops all the indexes.
|
 | DropAllAsync(IClientSessionHandle, CancellationToken) |
Drops all the indexes.
|
 | DropOne(String, CancellationToken) |
Drops an index by its name.
|
 | DropOne(IClientSessionHandle, String, CancellationToken) |
Drops an index by its name.
|
 | DropOneAsync(String, CancellationToken) |
Drops an index by its name.
|
 | DropOneAsync(IClientSessionHandle, String, CancellationToken) |
Drops an index by its name.
|
 | 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.) |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | List(CancellationToken) |
Lists the indexes.
|
 | List(IClientSessionHandle, CancellationToken) |
Lists the indexes.
|
 | ListAsync(CancellationToken) |
Lists the indexes.
|
 | ListAsync(IClientSessionHandle, CancellationToken) |
Lists the indexes.
|
 | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
 | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Extension Methods
See Also