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)

将此约定应用于模型中的项。

适用于