Lenguaje

SqlServerIndexBuilderExtensions.HasFullTextKeyIndex Método

Definición

Configura KEY INDEX para el índice de texto completo al dirigirse a 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

Parámetros

indexBuilder
IConventionIndexBuilder

Generador del índice que se va a configurar.

keyIndex
String

Nombre del ÍNDICE DE CLAVE.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

La misma instancia del generador si se aplicó la configuración; de lo contrario, null .

Comentarios

Consulte Full-Text Búsqueda para obtener más información sobre SQL Server búsqueda de texto completo.

Se aplica a