Class CreateIndexModel<TDocument>
public sealed class CreateIndexModel<TDocument>
Type Parameters
TDocument
- Inheritance
-
CreateIndexModel<TDocument>
- Inherited Members
Constructors
CreateIndexModel(IndexKeysDefinition<TDocument>, CreateIndexOptions)
public CreateIndexModel(IndexKeysDefinition<TDocument> keys, CreateIndexOptions options = null)
Parameters
keys
IndexKeysDefinition<TDocument>options
CreateIndexOptions
Properties
Keys
public IndexKeysDefinition<TDocument> Keys { get; }
Property Value
- IndexKeysDefinition<TDocument>
Options
public CreateIndexOptions<TDocument> Options { get; }
Property Value
- CreateIndexOptions<TDocument>