Language

SqlServerIndexExtensions.SetFullTextLanguage Method

Definition

Overloads

Name Description
SetFullTextLanguage(IMutableIndex, String, String)

Sets the full-text language for a specific property in the full-text index.

SetFullTextLanguage(IConventionIndex, String, String, Boolean)

Sets the full-text language for a specific property in the full-text index.

SetFullTextLanguage(IMutableIndex, String, String)

Source:
SqlServerIndexExtensions.cs

Sets the full-text language for a specific property in the full-text index.

public static void SetFullTextLanguage(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string propertyName, string? language);
static member SetFullTextLanguage : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string * string -> unit
<Extension()>
Public Sub SetFullTextLanguage (index As IMutableIndex, propertyName As String, language As String)

Parameters

index
IMutableIndex

The index.

propertyName
String

The property name.

language
String

The language term to set, or null to remove.

Applies to

SetFullTextLanguage(IConventionIndex, String, String, Boolean)

Source:
SqlServerIndexExtensions.cs

Sets the full-text language for a specific property in the full-text index.

public static string? SetFullTextLanguage(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string propertyName, string? language, bool fromDataAnnotation = false);
static member SetFullTextLanguage : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * string * bool -> string
<Extension()>
Public Function SetFullTextLanguage (index As IConventionIndex, propertyName As String, language As String, Optional fromDataAnnotation As Boolean = false) As String

Parameters

index
IConventionIndex

The index.

propertyName
String

The property name.

language
String

The language term to set, or null to remove.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to