RelationalPropertyExtensions.SetColumnOrder Метод

Определение

Перегрузки

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Задает порядок столбца, с который сопоставляется свойство.

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Задает порядок столбца, с который сопоставляется свойство.

SetColumnOrder(IMutableProperty, Nullable<Int32>)

Задает порядок столбца, с который сопоставляется свойство.

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>

Порядок столбцов.

Применяется к

SetColumnOrder(IConventionProperty, Nullable<Int32>, Boolean)

Задает порядок столбца, с который сопоставляется свойство.

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

Значение , указывающее, была ли указана конфигурация с помощью заметки к данным.

Возвращаемое значение

Настроенное или заданное значение.

Применяется к