Udostępnij za pośrednictwem


SqlServerIndexExtensions.SetIsClustered Metoda

Definicja

Przeciążenia

SetIsClustered(IMutableIndex, Nullable<Boolean>)

Ustawia wartość wskazującą, czy indeks jest klastrowany.

SetIsClustered(IConventionIndex, Nullable<Boolean>, Boolean)

Ustawia wartość wskazującą, czy indeks jest klastrowany.

SetIsClustered(IMutableIndex, Nullable<Boolean>)

Ustawia wartość wskazującą, czy indeks jest klastrowany.

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))

Parametry

index
IMutableIndex

Indeks.

value
Nullable<Boolean>

Wartość do ustawienia.

Dotyczy

SetIsClustered(IConventionIndex, Nullable<Boolean>, Boolean)

Ustawia wartość wskazującą, czy indeks jest klastrowany.

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)

Parametry

index
IConventionIndex

Indeks.

value
Nullable<Boolean>

Wartość do ustawienia.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Skonfigurowana wartość.

Dotyczy