IStoreModelConvention<T> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个约定,在创建模型后对模型的数据库部分进行操作。
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) |
将此约定应用于模型中的项。 |