다음을 통해 공유


KeyDiscoveryConvention 클래스

정의

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

public abstract class KeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.EntityType>
type KeyDiscoveryConvention = class
    interface IConceptualModelConvention<EntityType>
    interface IConvention
Public MustInherit Class KeyDiscoveryConvention
Implements IConceptualModelConvention(Of EntityType)
상속
KeyDiscoveryConvention
파생
구현

생성자

KeyDiscoveryConvention()

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

메서드

Apply(EntityType, DbModel)

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

MatchKeyProperty(EntityType, IEnumerable<EdmProperty>)

재정의된 경우 기본 키의 일부가 될 속성의 하위 집합을 반환합니다.

적용 대상