RelationalComplexTypePrimitiveCollectionBuilderExtensions.HasColumnOrder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HasColumnOrder(ComplexTypePrimitiveCollectionBuilder, Nullable<Int32>) |
Configures the order of the column the property is mapped to. |
HasColumnOrder<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, Nullable<Int32>) |
Configures the order of the column the property is mapped to. |
HasColumnOrder(ComplexTypePrimitiveCollectionBuilder, Nullable<Int32>)
Configures the order of the column the property is mapped to.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder HasColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder primitiveCollectionBuilder, int? order);
static member HasColumnOrder : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder
<Extension()>
Public Function HasColumnOrder (primitiveCollectionBuilder As ComplexTypePrimitiveCollectionBuilder, order As Nullable(Of Integer)) As ComplexTypePrimitiveCollectionBuilder
Parameters
- primitiveCollectionBuilder
- ComplexTypePrimitiveCollectionBuilder
The builder of the property being configured.
Returns
The same builder instance so that multiple calls can be chained.
Applies to
HasColumnOrder<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, Nullable<Int32>)
Configures the order of the column the property is mapped to.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<TProperty> HasColumnOrder<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<TProperty> primitiveCollectionBuilder, int? order);
static member HasColumnOrder : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<'Property> * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<'Property>
<Extension()>
Public Function HasColumnOrder(Of TProperty) (primitiveCollectionBuilder As ComplexTypePrimitiveCollectionBuilder(Of TProperty), order As Nullable(Of Integer)) As ComplexTypePrimitiveCollectionBuilder(Of TProperty)
Type Parameters
- TProperty
Parameters
- primitiveCollectionBuilder
- ComplexTypePrimitiveCollectionBuilder<TProperty>
The builder of the property being configured.
Returns
The same builder instance so that multiple calls can be chained.
Applies to
Entity Framework