ForeignKeyIndexConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于引入外键索引的约定。
public class ForeignKeyIndexConvention : System.Data.Entity.ModelConfiguration.Conventions.IStoreModelConvention<System.Data.Entity.Core.Metadata.Edm.AssociationType>
type ForeignKeyIndexConvention = class
interface IStoreModelConvention<AssociationType>
interface IConvention
Public Class ForeignKeyIndexConvention
Implements IStoreModelConvention(Of AssociationType)
- 继承
-
ForeignKeyIndexConvention
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| ForeignKeyIndexConvention() |
用于引入外键索引的约定。 |
方法
| 名称 | 说明 |
|---|---|
| Apply(AssociationType, DbModel) |
将此约定应用于模型中的项。 |