RelationalPrimitiveCollectionBuilderExtensions.HasColumnOrder 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
要配置的属性的生成器。
返回
同一生成器实例,以便可以链接多个调用。
适用于
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>
要配置的属性的生成器。
返回
同一生成器实例,以便可以链接多个调用。