語言

SqlServerIndexExtensions.SetFullTextLanguage 方法

定義

多載

名稱 Description
SetFullTextLanguage(IMutableIndex, String, String)

為全文索引中特定屬性設定全文語言。

SetFullTextLanguage(IConventionIndex, String, String, Boolean)

為全文索引中特定屬性設定全文語言。

SetFullTextLanguage(IMutableIndex, String, String)

來源:
SqlServerIndexExtensions.cs

為全文索引中特定屬性設定全文語言。

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)

參數

index
IMutableIndex

索引。

propertyName
String

屬性名稱。

language
String

語言術語是設定或 null 移除。

適用於

SetFullTextLanguage(IConventionIndex, String, String, Boolean)

來源:
SqlServerIndexExtensions.cs

為全文索引中特定屬性設定全文語言。

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

參數

index
IConventionIndex

索引。

propertyName
String

屬性名稱。

language
String

語言術語是設定或 null 移除。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

設定值。

適用於