Condividi tramite


SqlServerIndexExtensions.SetIsCreatedOnline Metodo

Definizione

Overload

SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>)

Imposta un valore che indica se l'indice è online.

SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean)

Imposta un valore che indica se l'indice è online.

SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>)

Imposta un valore che indica se l'indice è online.

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

Parametri

index
IMutableIndex

Indice.

createdOnline
Nullable<Boolean>

Il valore da impostare.

Si applica a

SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean)

Imposta un valore che indica se l'indice è online.

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)

Parametri

index
IConventionIndex

Indice.

createdOnline
Nullable<Boolean>

Il valore da impostare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a