ColumnOrderingConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
套用透過 ColumnAttribute 或 API 指定之資料行順序的 DbModelBuilder 慣例。
public class ColumnOrderingConvention : System.Data.Entity.ModelConfiguration.Conventions.IStoreModelConvention<System.Data.Entity.Core.Metadata.Edm.EntityType>
type ColumnOrderingConvention = class
interface IStoreModelConvention<EntityType>
interface IConvention
Public Class ColumnOrderingConvention
Implements IStoreModelConvention(Of EntityType)
- 繼承
-
ColumnOrderingConvention
- 衍生
- 實作
建構函式
ColumnOrderingConvention() |
套用透過 ColumnAttribute 或 API 指定之資料行順序的 DbModelBuilder 慣例。 |
方法
Apply(EntityType, DbModel) |
將此慣例套用至模型中的專案。 |
ValidateColumns(EntityType, String) |
驗證針對資料行所提供的排序組態。 此基底實作是無作業。 |