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
- 實作
建構函式
| 名稱 | Description |
|---|---|
| ForeignKeyIndexConvention() |
引入外鍵索引的慣例。 |
方法
| 名稱 | Description |
|---|---|
| Apply(AssociationType, DbModel) |
將此慣例應用於模型中的一個項目。 |