Class MongoIndexManagerBase<TDocument>
Base class for implementors of IMongoIndexManager<TDocument>.
Type Parameters
TDocument
The type of the document.
- Inheritance
-
MongoIndexManagerBase<TDocument>
- Implements
-
IMongo
Index <TDocument>Manager
- Inherited Members
Properties
- Collection
Namespace Gets the namespace of the collection.
- Document
Serializer Gets the document serializer.
- Settings
Gets the collection settings.
Methods
- CreateMany(IClientSessionHandle, IEnumerable<CreateIndexModel<TDocument>>, CreateManyIndexesOptions, CancellationToken)
Creates multiple indexes.
- CreateMany(IClientSessionHandle, IEnumerable<CreateIndexModel<TDocument>>, CancellationToken)
Creates multiple indexes.
- CreateMany(IEnumerable<CreateIndexModel<TDocument>>, CreateManyIndexesOptions, CancellationToken)
Creates multiple indexes.
- CreateMany(IEnumerable<CreateIndexModel<TDocument>>, CancellationToken)
Creates multiple indexes.
- CreateManyAsync(IClientSessionHandle, IEnumerable<CreateIndexModel<TDocument>>, CreateManyIndexesOptions, CancellationToken)
Creates multiple indexes.
- CreateManyAsync(IClientSessionHandle, IEnumerable<CreateIndexModel<TDocument>>, CancellationToken)
Creates multiple indexes.
- CreateManyAsync(IEnumerable<CreateIndexModel<TDocument>>, CreateManyIndexesOptions, CancellationToken)
Creates multiple indexes.
- CreateManyAsync(IEnumerable<CreateIndexModel<TDocument>>, CancellationToken)
Creates multiple indexes.
- CreateOne(IClientSessionHandle, CreateIndexModel<TDocument>, CreateOneIndexOptions, CancellationToken)
Creates an index.
- CreateOne(IClientSessionHandle, IndexKeysDefinition<TDocument>, CreateIndexOptions, CancellationToken)
Creates an index.
- CreateOneAsync(CreateIndexModel<TDocument>, CreateOneIndexOptions, CancellationToken)
Creates an index.
- CreateOneAsync(IClientSessionHandle, CreateIndexModel<TDocument>, CreateOneIndexOptions, CancellationToken)
Creates an index.
- CreateOneAsync(IClientSessionHandle, IndexKeysDefinition<TDocument>, CreateIndexOptions, CancellationToken)
Creates an index.
- CreateOneAsync(IndexKeysDefinition<TDocument>, CreateIndexOptions, CancellationToken)
Creates an index.
- Drop
All(Drop Index Options, Cancellation Token) Drops all the indexes.
- Drop
All(IClient Session Handle, Drop Index Options, Cancellation Token) Drops all the indexes.
- Drop
All(IClient Session Handle, Cancellation Token) Drops all the indexes.
- Drop
All(Cancellation Token) Drops all the indexes.
- Drop
All Async(Drop Index Options, Cancellation Token) Drops all the indexes.
- Drop
All Async(IClient Session Handle, Drop Index Options, Cancellation Token) Drops all the indexes.
- Drop
All Async(IClient Session Handle, Cancellation Token) Drops all the indexes.
- Drop
All Async(Cancellation Token) Drops all the indexes.
- Drop
One(IClient Session Handle, string, Drop Index Options, Cancellation Token) Drops an index by its name.
- Drop
One(IClient Session Handle, string, Cancellation Token) Drops an index by its name.
- Drop
One(string, Drop Index Options, Cancellation Token) Drops an index by its name.
- Drop
One(string, Cancellation Token) Drops an index by its name.
- Drop
One Async(IClient Session Handle, string, Drop Index Options, Cancellation Token) Drops an index by its name.
- Drop
One Async(IClient Session Handle, string, Cancellation Token) Drops an index by its name.
- Drop
One Async(string, Drop Index Options, Cancellation Token) Drops an index by its name.
- Drop
One Async(string, Cancellation Token) Drops an index by its name.
- List(IClient
Session Handle, List Indexes Options, Cancellation Token) Lists the indexes.
- List(IClient
Session Handle, Cancellation Token) Lists the indexes.
- List(List
Indexes Options, Cancellation Token) Lists the indexes.
- List(Cancellation
Token) Lists the indexes.
- List
Async(IClient Session Handle, List Indexes Options, Cancellation Token) Lists the indexes.
- List
Async(IClient Session Handle, Cancellation Token) Lists the indexes.
- List
Async(List Indexes Options, Cancellation Token) Lists the indexes.
- List
Async(Cancellation Token) Lists the indexes.