RelationalPropertyExtensions.SetColumnOrder Méthode

Définition

Surcharges

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Définit l’ordre de la colonne à laquelle la propriété est mappée.

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Définit l’ordre de la colonne à laquelle la propriété est mappée.

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Définit l’ordre de la colonne à laquelle la propriété est mappée.

public static void SetColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? order);
static member SetColumnOrder : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetColumnOrder (property As IMutableProperty, order As Nullable(Of Integer))

Paramètres

property
IMutableProperty

Propriété.

order
Nullable<Int32>

Ordre des colonnes.

S’applique à

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Définit l’ordre de la colonne à laquelle la propriété est mappée.

public static int? SetColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? order, bool fromDataAnnotation = false);
static member SetColumnOrder : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Function SetColumnOrder (property As IConventionProperty, order As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

Paramètres

property
IConventionProperty

Propriété.

order
Nullable<Int32>

Ordre des colonnes.

fromDataAnnotation
Boolean

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

Retours

Valeur configurée.

S’applique à