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