Constructor SearchIndexDefinition
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Search.Definitions
- Assembly
- MongoDB.EntityFrameworkCore.dll
SearchIndexDefinition(IMutableEntityType, string)
Creates a top-level SearchIndexDefinition for the given entity type with the given name.
public SearchIndexDefinition(IMutableEntityType entityType, string name)
Parameters
entityTypeIMutableEntityTypeThe top-level entity type for which the search index is being defined.
namestringThe name of the index to create.