Lenguaje

SqlServerIndexBuilderExtensions.CanSetFullTextKeyIndex Method

Definition

Returns a value indicating whether the index can be configured with the specified KEY INDEX when targeting 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

Parameters

indexBuilder
IConventionIndexBuilder

The builder for the index being configured.

keyIndex
String

The name of the KEY INDEX.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the index can be configured with the specified KEY INDEX when targeting SQL Server.

Remarks

See Full-Text Search for more information on SQL Server full-text search.

Applies to