Langue

SqlServerIndexBuilderExtensions.HasFullTextKeyIndex Méthode

Définition

Configure l’INDEX KEY pour l’index de recherche en texte intégral lors du ciblage de 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

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

La même instance de générateur si la configuration a été appliquée, null sinon.

Remarques

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

S’applique à