ForeignKeyNavigationPropertyAttributeConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在模型中流覽屬性上找到的 ForeignKeyAttribute 實例的慣例。
public class ForeignKeyNavigationPropertyAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.NavigationProperty>
type ForeignKeyNavigationPropertyAttributeConvention = class
interface IConceptualModelConvention<NavigationProperty>
interface IConvention
Public Class ForeignKeyNavigationPropertyAttributeConvention
Implements IConceptualModelConvention(Of NavigationProperty)
- 繼承
-
ForeignKeyNavigationPropertyAttributeConvention
- 實作
建構函式
ForeignKeyNavigationPropertyAttributeConvention() |
在模型中流覽屬性上找到的 ForeignKeyAttribute 實例的慣例。 |
方法
Apply(NavigationProperty, DbModel) |
將此慣例套用至模型中的專案。 |