RelationalPropertyExtensions.SetColumnOrder Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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 .
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 .
- fromDataAnnotation
- Boolean
Nilai yang menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.
Mengembalikan
Nilai yang dikonfigurasi.