Bagikan melalui


SqlServerIndexExtensions.SetIsClustered Metode

Definisi

Overload

SetIsClustered(IMutableIndex, Nullable<Boolean>)

Mengatur nilai yang menunjukkan apakah indeks diklusterkan.

SetIsClustered(IConventionIndex, Nullable<Boolean>, Boolean)

Mengatur nilai yang menunjukkan apakah indeks diklusterkan.

SetIsClustered(IMutableIndex, Nullable<Boolean>)

Mengatur nilai yang menunjukkan apakah indeks diklusterkan.

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

Parameter

index
IMutableIndex

Indeks.

value
Nullable<Boolean>

Nilai yang akan ditetapkan.

Berlaku untuk

SetIsClustered(IConventionIndex, Nullable<Boolean>, Boolean)

Mengatur nilai yang menunjukkan apakah indeks diklusterkan.

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

Parameter

index
IConventionIndex

Indeks.

value
Nullable<Boolean>

Nilai yang akan ditetapkan.

fromDataAnnotation
Boolean

Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.

Mengembalikan

Nilai yang dikonfigurasi.

Berlaku untuk