RelationalPrimitiveCollectionBuilderExtensions.HasColumnOrder 方法

定义

重载

HasColumnOrder(PrimitiveCollectionBuilder, Nullable<Int32>)

配置属性映射到的列的顺序。

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

配置属性映射到的列的顺序。

HasColumnOrder(PrimitiveCollectionBuilder, Nullable<Int32>)

配置属性映射到的列的顺序。

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

参数

primitiveCollectionBuilder
PrimitiveCollectionBuilder

要配置的属性的生成器。

order
Nullable<Int32>

列顺序。

返回

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

适用于

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

配置属性映射到的列的顺序。

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

类型参数

TProperty

参数

primitiveCollectionBuilder
PrimitiveCollectionBuilder<TProperty>

要配置的属性的生成器。

order
Nullable<Int32>

列顺序。

返回

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

适用于