SqlServerIndexExtensions.SetFullTextLanguages 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>) |
设置全文索引中所有属性的全文语言。 |
| SetFullTextLanguages(IConventionIndex, IReadOnlyDictionary<String,String>, Boolean) |
设置全文索引中所有属性的全文语言。 |
SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>)
- Source:
- 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)
- Source:
- 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
指示是否使用数据注释指定了配置。
返回
配置的值。