Langue

SqlServerIndexBuilderExtensions.CanSetFullTextKeyIndex Méthode

Définition

Retourne une valeur indiquant si l’index peut être configuré avec l’INDEX KEY spécifié lors du ciblage de 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

Paramètres

indexBuilder
IConventionIndexBuilder

Générateur de l’index en cours de configuration.

keyIndex
String

Nom de l’INDEX DE CLÉ.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

truesi l’index peut être configuré avec l’INDEX KEY spécifié lors du ciblage de SQL Server.

Remarques

Consultez Full-Text Rechercher plus d’informations sur SQL Server recherche en texte intégral.

S’applique à