ForeignKeyIndexConvention 类

定义

引入外键索引的约定。

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)

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

适用于