RelationalComplexTypePropertyBuilderExtensions.HasColumnOrder 方法

定義

多載

HasColumnOrder(ComplexTypePropertyBuilder, Nullable<Int32>)

設定屬性所對應的資料行順序。

HasColumnOrder<TProperty>(ComplexTypePropertyBuilder<TProperty>, Nullable<Int32>)

設定屬性所對應的資料行順序。

HasColumnOrder(ComplexTypePropertyBuilder, Nullable<Int32>)

設定屬性所對應的資料行順序。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder HasColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder propertyBuilder, int? order);
static member HasColumnOrder : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder
<Extension()>
Public Function HasColumnOrder (propertyBuilder As ComplexTypePropertyBuilder, order As Nullable(Of Integer)) As ComplexTypePropertyBuilder

參數

propertyBuilder
ComplexTypePropertyBuilder

正在設定之屬性的產生器。

order
Nullable<Int32>

資料行順序。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於

HasColumnOrder<TProperty>(ComplexTypePropertyBuilder<TProperty>, Nullable<Int32>)

設定屬性所對應的資料行順序。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> HasColumnOrder<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> propertyBuilder, int? order);
static member HasColumnOrder : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property> * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property>
<Extension()>
Public Function HasColumnOrder(Of TProperty) (propertyBuilder As ComplexTypePropertyBuilder(Of TProperty), order As Nullable(Of Integer)) As ComplexTypePropertyBuilder(Of TProperty)

類型參數

TProperty

參數

propertyBuilder
ComplexTypePropertyBuilder<TProperty>

正在設定之屬性的產生器。

order
Nullable<Int32>

資料行順序。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於