Table of Contents

Class IndexKeysDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for an index keys definition.

public abstract class IndexKeysDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
IndexKeysDefinition<TDocument>
Derived
Inherited Members
Extension Methods

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry)

Renders the index keys definition to a BsonDocument.

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the index keys definition to a BsonDocument.

Operators

implicit operator IndexKeysDefinition<TDocument>(BsonDocument)

Performs an implicit conversion from BsonDocument to IndexKeysDefinition<TDocument>.

implicit operator IndexKeysDefinition<TDocument>(string)

Performs an implicit conversion from string to IndexKeysDefinition<TDocument>.