Table of Contents

Class MongoIndexManagerBase<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for implementors of IMongoIndexManager<TDocument>.

public abstract class MongoIndexManagerBase<TDocument> : IMongoIndexManager<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
MongoIndexManagerBase<TDocument>
Implements
Inherited Members

Properties

CollectionNamespace

Gets the namespace of the collection.

DocumentSerializer

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(CreateIndexModel<TDocument>, CreateOneIndexOptions, CancellationToken)

Creates an index.

CreateOne(IClientSessionHandle, CreateIndexModel<TDocument>, CreateOneIndexOptions, CancellationToken)

Creates an index.

CreateOne(IClientSessionHandle, IndexKeysDefinition<TDocument>, CreateIndexOptions, CancellationToken)

Creates an index.

CreateOne(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.

DropAll(DropIndexOptions, CancellationToken)

Drops all the indexes.

DropAll(IClientSessionHandle, DropIndexOptions, CancellationToken)

Drops all the indexes.

DropAll(IClientSessionHandle, CancellationToken)

Drops all the indexes.

DropAll(CancellationToken)

Drops all the indexes.

DropAllAsync(DropIndexOptions, CancellationToken)

Drops all the indexes.

DropAllAsync(IClientSessionHandle, DropIndexOptions, CancellationToken)

Drops all the indexes.

DropAllAsync(IClientSessionHandle, CancellationToken)

Drops all the indexes.

DropAllAsync(CancellationToken)

Drops all the indexes.

DropOne(IClientSessionHandle, string, DropIndexOptions, CancellationToken)

Drops an index by its name.

DropOne(IClientSessionHandle, string, CancellationToken)

Drops an index by its name.

DropOne(string, DropIndexOptions, CancellationToken)

Drops an index by its name.

DropOne(string, CancellationToken)

Drops an index by its name.

DropOneAsync(IClientSessionHandle, string, DropIndexOptions, CancellationToken)

Drops an index by its name.

DropOneAsync(IClientSessionHandle, string, CancellationToken)

Drops an index by its name.

DropOneAsync(string, DropIndexOptions, CancellationToken)

Drops an index by its name.

DropOneAsync(string, CancellationToken)

Drops an index by its name.

List(IClientSessionHandle, ListIndexesOptions, CancellationToken)

Lists the indexes.

List(IClientSessionHandle, CancellationToken)

Lists the indexes.

List(ListIndexesOptions, CancellationToken)

Lists the indexes.

List(CancellationToken)

Lists the indexes.

ListAsync(IClientSessionHandle, ListIndexesOptions, CancellationToken)

Lists the indexes.

ListAsync(IClientSessionHandle, CancellationToken)

Lists the indexes.

ListAsync(ListIndexesOptions, CancellationToken)

Lists the indexes.

ListAsync(CancellationToken)

Lists the indexes.