Constructor CreateIndexModel
CreateIndexModel(IndexKeysDefinition<TDocument>, CreateIndexOptions)
Initializes a new instance of the CreateIndexModel<TDocument> class.
public CreateIndexModel(IndexKeysDefinition<TDocument> keys, CreateIndexOptions options = null)
Parameters
keys
IndexKeysDefinition<TDocument>The keys.
options
CreateIndexOptionsThe options.