Språk

SqlServerIndexBuilderExtensions.CanSetFullTextLanguages Method

Definition

Returns a value indicating whether the languages for properties in the full-text index can be set when targeting SQL Server.

public static bool CanSetFullTextLanguages(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, System.Collections.Generic.IReadOnlyDictionary<string,string>? languages, bool fromDataAnnotation = false);
static member CanSetFullTextLanguages : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * System.Collections.Generic.IReadOnlyDictionary<string, string> * bool -> bool
<Extension()>
Public Function CanSetFullTextLanguages (indexBuilder As IConventionIndexBuilder, languages As IReadOnlyDictionary(Of String, String), Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

indexBuilder
IConventionIndexBuilder

The builder for the index being configured.

languages
IReadOnlyDictionary<String,String>

A dictionary of property names to language terms.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the languages for properties can be set when targeting SQL Server.

Remarks

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

Applies to