Bagikan melalui


RelationalPropertyExtensions.SetColumnOrder Metode

Definisi

Overload

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Mengatur urutan kolom tempat properti dipetakan.

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Mengatur urutan kolom tempat properti dipetakan.

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Mengatur urutan kolom tempat properti dipetakan.

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

Parameter

property
IMutableProperty

Properti .

order
Nullable<Int32>

Urutan kolom.

Berlaku untuk

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Mengatur urutan kolom tempat properti dipetakan.

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)

Parameter

property
IConventionProperty

Properti .

order
Nullable<Int32>

Urutan kolom.

fromDataAnnotation
Boolean

Nilai yang menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.

Mengembalikan

Nilai yang dikonfigurasi.

Berlaku untuk