다음을 통해 공유


SqlServerTemporalConvention 클래스

정의

임시 테이블에 매핑된 엔터티에 대한 임시 설정을 조작하는 규칙입니다.

public class SqlServerTemporalConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationForeignKeyChangedConvention
public class SqlServerTemporalConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationForeignKeyChangedConvention
type SqlServerTemporalConvention = class
    interface IEntityTypeAnnotationChangedConvention
    interface IConvention
    interface ISkipNavigationForeignKeyChangedConvention
type SqlServerTemporalConvention = class
    interface IEntityTypeAnnotationChangedConvention
    interface IConvention
    interface ISkipNavigationForeignKeyChangedConvention
    interface IModelFinalizingConvention
Public Class SqlServerTemporalConvention
Implements IEntityTypeAnnotationChangedConvention, ISkipNavigationForeignKeyChangedConvention
Public Class SqlServerTemporalConvention
Implements IEntityTypeAnnotationChangedConvention, IModelFinalizingConvention, ISkipNavigationForeignKeyChangedConvention
상속
SqlServerTemporalConvention
구현

설명

자세한 내용과 예제는 모델 빌드 규칙EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스 액세스를 참조하세요.

생성자

SqlServerTemporalConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

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

속성

Dependencies

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

RelationalDependencies

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

메서드

ProcessEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

엔터티 형식에서 주석이 변경된 후 호출됩니다.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델을 완료할 때 호출됩니다.

ProcessSkipNavigationForeignKeyChanged(IConventionSkipNavigationBuilder, IConventionForeignKey, IConventionForeignKey, IConventionContext<IConventionForeignKey>)

건너뛰기 탐색 반전이 변경된 후 호출됩니다.

적용 대상