語言

SqlServerIndexExtensions.SetFullTextKeyIndex 方法

定義

多載

名稱 Description
SetFullTextKeyIndex(IConventionIndex, String, Boolean)

設定全文索引的 KEY INDEX 名稱。 設定非空值會將此索引標記為全文索引。

SetFullTextKeyIndex(IMutableIndex, String)

設定全文索引的 KEY INDEX 名稱。 設定非空值會將此索引標記為全文索引。

SetFullTextKeyIndex(IConventionIndex, String, Boolean)

來源:
SqlServerIndexExtensions.cs

設定全文索引的 KEY INDEX 名稱。 設定非空值會將此索引標記為全文索引。

public static string? SetFullTextKeyIndex(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string? keyIndexName, bool fromDataAnnotation = false);
static member SetFullTextKeyIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> string
<Extension()>
Public Function SetFullTextKeyIndex (index As IConventionIndex, keyIndexName As String, Optional fromDataAnnotation As Boolean = false) As String

參數

index
IConventionIndex

索引。

keyIndexName
String

要設定的 KEY INDEX 名稱。

fromDataAnnotation
Boolean

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

傳回

設定值。

適用於

SetFullTextKeyIndex(IMutableIndex, String)

來源:
SqlServerIndexExtensions.cs

設定全文索引的 KEY INDEX 名稱。 設定非空值會將此索引標記為全文索引。

public static void SetFullTextKeyIndex(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string? keyIndexName);
static member SetFullTextKeyIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string -> unit
<Extension()>
Public Sub SetFullTextKeyIndex (index As IMutableIndex, keyIndexName As String)

參數

index
IMutableIndex

索引。

keyIndexName
String

要設定的 KEY INDEX 名稱。

適用於