SqlServerIndexExtensions.SetIsCreatedOnline Méthode

Définition

Surcharges

SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>)

Définit une valeur indiquant si l’index est en ligne.

SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean)

Définit une valeur indiquant si l’index est en ligne.

SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>)

Définit une valeur indiquant si l’index est en ligne.

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

Paramètres

index
IMutableIndex

Index.

createdOnline
Nullable<Boolean>

Valeur à définir.

S’applique à

SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean)

Définit une valeur indiquant si l’index est en ligne.

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

Paramètres

index
IConventionIndex

Index.

createdOnline
Nullable<Boolean>

Valeur à définir.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Valeur configurée.

S’applique à