Class BsonDocumentIndexKeysDefinition

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

public sealed class BsonDocumentIndexKeysDefinition<TDocument> : IndexKeysDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance

BsonDocumentIndexKeysDefinition

Inherited Members

Extension Methods

Constructors

BsonDocumentIndexKeysDefinition(BsonDocument)

Initializes a new instance of the BsonDocumentIndexKeysDefinition class.

Properties

Document

Gets the document.

Methods

Render(RenderArgs)

Renders the index keys definition to a BsonDocument.