SqlServerIndexExtensions.SetSortInTempDb Method

Definition

Overloads

SetSortInTempDb(IMutableIndex, Nullable<Boolean>)

Sets a value indicating whether the index is sorted in tempdb.

SetSortInTempDb(IConventionIndex, Nullable<Boolean>, Boolean)

Sets a value indicating whether the index is sorted in tempdb.

SetSortInTempDb(IMutableIndex, Nullable<Boolean>)

Sets a value indicating whether the index is sorted in 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))

Parameters

index
IMutableIndex

The index.

sortInTempDb
Nullable<Boolean>

The value to set.

Applies to

SetSortInTempDb(IConventionIndex, Nullable<Boolean>, Boolean)

Sets a value indicating whether the index is sorted in 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)

Parameters

index
IConventionIndex

The index.

sortInTempDb
Nullable<Boolean>

The value to set.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to