다음을 통해 공유


ForeignKeyDiscoveryConvention 클래스

정의

외래 키 속성을 검색하는 규칙에 대한 기본 클래스입니다.

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

규칙이 여러 연결이 정의된 엔터티 형식 쌍을 지원하는 경우 를 반환 true 합니다.

메서드

Apply(AssociationType, DbModel)

모델의 항목에 이 규칙을 적용합니다.

MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)

재정의되면 외래 키의 일부여야 하는 경우 dependentProperty 를 반환 true 합니다.

적용 대상