Bagikan melalui


SqlServerIndexExtensions.SetSortInTempDb Metode

Definisi

Overload

SetSortInTempDb(IMutableIndex, Nullable<Boolean>)

Mengatur nilai yang menunjukkan apakah indeks diurutkan dalam tempdb.

SetSortInTempDb(IConventionIndex, Nullable<Boolean>, Boolean)

Mengatur nilai yang menunjukkan apakah indeks diurutkan dalam tempdb.

SetSortInTempDb(IMutableIndex, Nullable<Boolean>)

Mengatur nilai yang menunjukkan apakah indeks diurutkan dalam 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))

Parameter

index
IMutableIndex

Indeks.

sortInTempDb
Nullable<Boolean>

Nilai yang akan ditetapkan.

Berlaku untuk

SetSortInTempDb(IConventionIndex, Nullable<Boolean>, Boolean)

Mengatur nilai yang menunjukkan apakah indeks diurutkan dalam 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)

Parameter

index
IConventionIndex

Indeks.

sortInTempDb
Nullable<Boolean>

Nilai yang akan ditetapkan.

fromDataAnnotation
Boolean

Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.

Mengembalikan

Nilai yang dikonfigurasi.

Berlaku untuk