共用方式為


SqlServerIndexExtensions.SetIsCreatedOnline 方法

定義

多載

SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>)

設定值,指出索引是否在線上。

SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean)

設定值,指出索引是否在線上。

SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>)

設定值,指出索引是否在線上。

public static void SetIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, bool? createdOnline);
static member SetIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsCreatedOnline (index As IMutableIndex, createdOnline As Nullable(Of Boolean))

參數

index
IMutableIndex

索引。

createdOnline
Nullable<Boolean>

要設定的值。

適用於

SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean)

設定值,指出索引是否在線上。

public static void SetIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool? createdOnline, bool fromDataAnnotation = false);
public static bool? SetIsCreatedOnline (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool? createdOnline, bool fromDataAnnotation = false);
static member SetIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Nullable<bool> * bool -> unit
static member SetIsCreatedOnline : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Sub SetIsCreatedOnline (index As IConventionIndex, createdOnline As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIsCreatedOnline (index As IConventionIndex, createdOnline As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

參數

index
IConventionIndex

索引。

createdOnline
Nullable<Boolean>

要設定的值。

fromDataAnnotation
Boolean

指出是否使用資料批註來指定組態。

傳回

已設定的值。

適用於