IKeyAddedConvention 인터페이스

정의

엔터티 형식에 키를 추가할 때 수행해야 하는 작업을 나타냅니다.

public interface IKeyAddedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IKeyAddedConvention = interface
    interface IConvention
Public Interface IKeyAddedConvention
Implements IConvention
파생
구현

설명

자세한 내용 및 예제는 모델 빌드 규칙을 참조하세요.

메서드

ProcessKeyAdded(IConventionKeyBuilder, IConventionContext<IConventionKeyBuilder>)

키가 엔터티 형식에 추가된 후 호출됩니다.

적용 대상