CheckConstraintConvention 클래스

정의

파생 형식의 검사 제약 조건이 기본 형식의 검사 제약 조건과 호환되도록 하는 규칙입니다. 또한 선언 형식이 최신인지 확인합니다.

public class CheckConstraintConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
type CheckConstraintConvention = class
    interface IEntityTypeBaseTypeChangedConvention
    interface IConvention
    interface IEntityTypeAddedConvention
Public Class CheckConstraintConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
상속
CheckConstraintConvention
구현

설명

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

생성자

CheckConstraintConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

CheckConstraintConvention의 새 인스턴스를 만듭니다.

속성

Dependencies

이 서비스에 대한 종속성입니다.

RelationalDependencies

이 서비스에 대한 관계형 공급자별 종속성입니다.

메서드

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

엔터티 형식의 기본 형식이 변경된 후 호출됩니다.

적용 대상