Język

SqlServerIndexBuilderExtensions.HasFullTextKeyIndex Metoda

Definicja

Konfiguruje indeks KEY dla indeksu pełnotekstowego podczas określania wartości docelowej 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

Konstruktor konfigurowanego indeksu.

keyIndex
String

Nazwa INDEKSU KLUCZY.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

To samo wystąpienie konstruktora, jeśli konfiguracja została zastosowana, null w przeciwnym razie.

Uwagi

Zobacz Full-Text Wyszukaj, aby uzyskać więcej informacji na temat wyszukiwania pełnotekstowego SQL Server.

Dotyczy