Class CreateIndexModel
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Model for creating an index.
public sealed class CreateIndexModel<TDocument>
Type Parameters
TDocument
The type of the document.
Inheritance
CreateIndexModel
Inherited Members
object.ReferenceEquals(object, object)
Constructors
CreateIndexModel(IndexKeysDefinition, CreateIndexOptions)
Initializes a new instance of the CreateIndexModel class.
Properties
Gets the keys.
Gets the options.