ChangeTrackingStrategyConvention 클래스

정의

전략을 사용하는 엔터티 형식이 없는 경우 변경 내용 검색을 항상 건너뛰도록 모델에 플래그를 Snapshot 설정하는 규칙입니다.

public class ChangeTrackingStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class ChangeTrackingStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type ChangeTrackingStrategyConvention = class
    interface IModelFinalizedConvention
    interface IConvention
type ChangeTrackingStrategyConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class ChangeTrackingStrategyConvention
Implements IModelFinalizedConvention
Public Class ChangeTrackingStrategyConvention
Implements IModelFinalizingConvention
상속
ChangeTrackingStrategyConvention
구현

설명

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

생성자

ChangeTrackingStrategyConvention(ProviderConventionSetBuilderDependencies)

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

속성

Dependencies

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

메서드

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델이 완료된 후 호출됩니다.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

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

적용 대상