Share via


RelationalPropertyExtensions.SetColumnOrder Metodo

Definizione

Overload

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Imposta l'ordine della colonna a cui viene eseguito il mapping della proprietà.

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Imposta l'ordine della colonna a cui viene eseguito il mapping della proprietà.

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Imposta l'ordine della colonna a cui viene eseguito il mapping della proprietà.

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

Parametri

property
IMutableProperty

Proprietà.

order
Nullable<Int32>

Ordine di colonna.

Si applica a

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Imposta l'ordine della colonna a cui viene eseguito il mapping della proprietà.

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)

Parametri

property
IConventionProperty

Proprietà.

order
Nullable<Int32>

Ordine di colonna.

fromDataAnnotation
Boolean

Valore che indica se la configurazione è stata specificata usando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a