SqlServerIndexExtensions.SetFullTextLanguages 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>) |
設定全文索引中所有屬性的全文語言。 |
| SetFullTextLanguages(IConventionIndex, IReadOnlyDictionary<String,String>, Boolean) |
設定全文索引中所有屬性的全文語言。 |
SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>)
設定全文索引中所有屬性的全文語言。
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)
設定全文索引中所有屬性的全文語言。
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
表示配置是否以資料註解方式指定。
傳回
設定值。