RelationalComplexTypePropertyBuilderExtensions.HasColumnOrder 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
正在設定之屬性的產生器。
傳回
相同的產生器實例,以便鏈結多個呼叫。
適用於
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>
正在設定之屬性的產生器。
傳回
相同的產生器實例,以便鏈結多個呼叫。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應