Table of Contents

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

entityType IMutableEntityType

The top-level entity type for which the search index is being defined.

name string

The name of the index to create.