共用方式為


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)

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

適用於