Język

SqlServerIndexBuilderExtensions.CanSetFullTextKeyIndex Metoda

Definicja

Zwraca wartość wskazującą, czy indeks można skonfigurować przy użyciu określonego indeksu KLUCZA podczas określania wartości docelowej SQL Server.

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

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

truejeśli indeks można skonfigurować przy użyciu określonego indeksu KLUCZA podczas określania wartości docelowej SQL Server.

Uwagi

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

Dotyczy