SqlServerIndexBuilderExtensions.HasFullTextKeyIndex Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Configura o KEY INDEX para o índice de texto completo ao direcionar 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
O construtor do índice que está sendo configurado.
- keyIndex
- String
O nome do ÍNDICE DE CHAVE.
- fromDataAnnotation
- Boolean
Indica se a configuração foi especificada usando uma anotação de dados.
Retornos
A mesma instância do construtor se a configuração tiver sido aplicada, null caso contrário.
Comentários
Consulte Full-Text Pesquisar mais informações sobre SQL Server pesquisa de texto completo.