ForeignKeyDiscoveryConvention 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
探索外鍵屬性之慣例的基類。
public abstract class ForeignKeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.AssociationType>
type ForeignKeyDiscoveryConvention = class
interface IConceptualModelConvention<AssociationType>
interface IConvention
Public MustInherit Class ForeignKeyDiscoveryConvention
Implements IConceptualModelConvention(Of AssociationType)
- 繼承
-
ForeignKeyDiscoveryConvention
- 衍生
- 實作
建構函式
ForeignKeyDiscoveryConvention() |
探索外鍵屬性之慣例的基類。 |
屬性
SupportsMultipleAssociations |
|
方法
Apply(AssociationType, DbModel) |
將此慣例套用至模型中的專案。 |
MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty) |
如果 應該屬於外鍵,則覆寫時會傳回 |