語言

SqlServerIndexExtensions.SetFullTextLanguages 方法

定義

多載

名稱 Description
SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>)

設定全文索引中所有屬性的全文語言。

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

設定全文索引中所有屬性的全文語言。

SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>)

來源:
SqlServerIndexExtensions.cs

設定全文索引中所有屬性的全文語言。

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))

參數

index
IMutableIndex

索引。

languages
IReadOnlyDictionary<String,String>

將屬性名稱詞典從語言術語翻譯,或 null 全部刪除。

適用於

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

來源:
SqlServerIndexExtensions.cs

設定全文索引中所有屬性的全文語言。

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)

參數

index
IConventionIndex

索引。

languages
IReadOnlyDictionary<String,String>

將屬性名稱詞典從語言術語翻譯,或 null 全部刪除。

fromDataAnnotation
Boolean

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

傳回

設定值。

適用於