SqlServerIndexExtensions.SetSortInTempDb 方法

定義

多載

SetSortInTempDb(IMutableIndex, Nullable<Boolean>)

設定值,指出索引是否在 tempdb 中排序。

SetSortInTempDb(IConventionIndex, Nullable<Boolean>, Boolean)

設定值,指出索引是否在 tempdb 中排序。

SetSortInTempDb(IMutableIndex, Nullable<Boolean>)

設定值,指出索引是否在 tempdb 中排序。

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

參數

index
IMutableIndex

索引。

sortInTempDb
Nullable<Boolean>

要設定的值。

適用於

SetSortInTempDb(IConventionIndex, Nullable<Boolean>, Boolean)

設定值,指出索引是否在 tempdb 中排序。

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

參數

index
IConventionIndex

索引。

sortInTempDb
Nullable<Boolean>

要設定的值。

fromDataAnnotation
Boolean

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

傳回

已設定的值。

適用於