语言

SnapshotModelProcessor(IOperationReporter, IModelRuntimeInitializer) 构造函数

定义

创建 SnapshotModelProcessor的新实例。

public SnapshotModelProcessor(Microsoft.EntityFrameworkCore.Design.IOperationReporter operationReporter, Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer modelRuntimeInitializer);
new Microsoft.EntityFrameworkCore.Migrations.SnapshotModelProcessor : Microsoft.EntityFrameworkCore.Design.IOperationReporter * Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer -> Microsoft.EntityFrameworkCore.Migrations.SnapshotModelProcessor
Public Sub New (operationReporter As IOperationReporter, modelRuntimeInitializer As IModelRuntimeInitializer)

参数

operationReporter
IOperationReporter

记者用于报告处理模型时遇到的警告。

modelRuntimeInitializer
IModelRuntimeInitializer

用于完成已处理模型的运行时初始值设定项。

适用于