언어

ISnapshotModelProcessor.Process(IReadOnlyModel, Boolean) 메서드

정의

모델을 처리하여 스냅샷을 만든 EF Core 버전에 필요한 수정 사항을 적용합니다.

public Microsoft.EntityFrameworkCore.Metadata.IModel? Process(Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel? model, bool resetVersion = false);
abstract member Process : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel * bool -> Microsoft.EntityFrameworkCore.Metadata.IModel
Public Function Process (model As IReadOnlyModel, Optional resetVersion As Boolean = false) As IModel

매개 변수

model
IReadOnlyModel

스냅샷에서 읽은 모델입니다.

resetVersion
Boolean

반환된 모델의 제품 버전 주석이 현재 EF Core 버전으로 다시 설정되는 경우 true 처리된 모델이 스냅샷으로 다시 유지되는 경우 이 옵션을 사용합니다.

반품

처리된 모델입니다 nullmodelnull.

적용 대상