다음을 통해 공유


PrimaryKeyNameForeignKeyDiscoveryConvention 클래스

정의

이름이 주 형식 기본 키 속성 이름과 일치하는 외래 키 속성을 검색하기 위한 규칙입니다.

public class PrimaryKeyNameForeignKeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
type PrimaryKeyNameForeignKeyDiscoveryConvention = class
    inherit ForeignKeyDiscoveryConvention
Public Class PrimaryKeyNameForeignKeyDiscoveryConvention
Inherits ForeignKeyDiscoveryConvention
상속
PrimaryKeyNameForeignKeyDiscoveryConvention
상속
PrimaryKeyNameForeignKeyDiscoveryConvention

생성자

PrimaryKeyNameForeignKeyDiscoveryConvention()

이름이 주 형식 기본 키 속성 이름과 일치하는 외래 키 속성을 검색하기 위한 규칙입니다.

속성

SupportsMultipleAssociations

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

(다음에서 상속됨 ForeignKeyDiscoveryConvention)

메서드

Apply(AssociationType, DbModel)

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

(다음에서 상속됨 ForeignKeyDiscoveryConvention)
MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)

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

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

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

(다음에서 상속됨 ForeignKeyDiscoveryConvention)

적용 대상