共用方式為


IStoreModelConvention<T> 介面

定義

建立模型之後,在模型的資料庫區段上運作的慣例。

public interface IStoreModelConvention<T> : System.Data.Entity.ModelConfiguration.Conventions.IConvention where T : MetadataItem
type IStoreModelConvention<'T (requires 'T :> MetadataItem)> = interface
    interface IConvention
Public Interface IStoreModelConvention(Of T)
Implements IConvention

類型參數

T

此慣例運作的中繼資料專案類型。

衍生
實作

方法

Apply(T, DbModel)

將此慣例套用至模型中的專案。

適用於