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>

列顺序。

返回

同一生成器实例,以便可以链接多个调用。

适用于