Idioma

SqlServerIndexExtensions.SetFullTextLanguages Method

Definition

Overloads

Name Description
SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>)

Sets the full-text languages for all properties in the full-text index.

SetFullTextLanguages(IConventionIndex, IReadOnlyDictionary<String,String>, Boolean)

Sets the full-text languages for all properties in the full-text index.

SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>)

Source:
SqlServerIndexExtensions.cs

Sets the full-text languages for all properties in the full-text index.

public static void SetFullTextLanguages(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, System.Collections.Generic.IReadOnlyDictionary<string,string>? languages);
static member SetFullTextLanguages : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * System.Collections.Generic.IReadOnlyDictionary<string, string> -> unit
<Extension()>
Public Sub SetFullTextLanguages (index As IMutableIndex, languages As IReadOnlyDictionary(Of String, String))

Parameters

index
IMutableIndex

The index.

languages
IReadOnlyDictionary<String,String>

A dictionary of property names to language terms, or null to remove all.

Applies to

SetFullTextLanguages(IConventionIndex, IReadOnlyDictionary<String,String>, Boolean)

Source:
SqlServerIndexExtensions.cs

Sets the full-text languages for all properties in the full-text index.

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

Parameters

index
IConventionIndex

The index.

languages
IReadOnlyDictionary<String,String>

A dictionary of property names to language terms, or null to remove all.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to