語言

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

用於完成處理模型的執行時初始化器。

適用於