語言

RelationalPropertyExtensions.SetColumnOrder 方法

定義

多載

名稱 Description
SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

設定屬性映射到的欄位順序。

SetColumnOrder(IMutableProperty, Nullable<Int32>)

設定屬性映射到的欄位順序。

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs

設定屬性映射到的欄位順序。

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)

參數

property
IConventionProperty

屬性。

order
Nullable<Int32>

欄目順序。

fromDataAnnotation
Boolean

一個表示是否使用資料註解指定配置的值。

傳回

設定值。

適用於

SetColumnOrder(IMutableProperty, Nullable<Int32>)

來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs
來源:
RelationalPropertyExtensions.cs

設定屬性映射到的欄位順序。

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

參數

property
IMutableProperty

屬性。

order
Nullable<Int32>

欄目順序。

適用於