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