Jazyk

SqlServerIndexBuilderExtensions.HasFullTextKeyIndex Metoda

Definice

Nakonfiguruje INDEX KLÍČE pro fulltextový index při cílení na SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? HasFullTextKeyIndex(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, string? keyIndex, bool fromDataAnnotation = false);
static member HasFullTextKeyIndex : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function HasFullTextKeyIndex (indexBuilder As IConventionIndexBuilder, keyIndex As String, Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder

Parametry

indexBuilder
IConventionIndexBuilder

Tvůrce nakonfigurovaného indexu.

keyIndex
String

Název INDEXU KLÍČE.

fromDataAnnotation
Boolean

Určuje, jestli byla konfigurace zadána pomocí datové poznámky.

Návraty

Stejná instance tvůrce, pokud byla použita konfigurace, null jinak.

Poznámky

Další informace o SQL Server fulltextového vyhledávání najdete v tématu Full-Text Hledání.

Platí pro