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>
正在設定之屬性的產生器。
傳回
相同的產生器實例,以便鏈結多個呼叫。