Class JsonIndexKeysDefinition
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
A JSON string based index keys definition.
public sealed class JsonIndexKeysDefinition<TDocument> : IndexKeysDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
Inheritance
JsonIndexKeysDefinition
Inherited Members
Extension Methods
Constructors
JsonIndexKeysDefinition(string)
Initializes a new instance of the JsonIndexKeysDefinition class.
Properties
Gets the json.
Methods
Renders the index keys definition to a BsonDocument.