Langue

IOperationReporter Interface

Definition

Reports messages emitted by design-time operations such as Migrations and scaffolding.

public interface IOperationReporter
type IOperationReporter = interface
Public Interface IOperationReporter

Remarks

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

See Implementation of database providers and extensions for more information and examples.

Methods

Name Description
WriteError(String)

Writes an error message.

WriteInformation(String)

Writes an informational message.

WriteVerbose(String)

Writes a verbose (debug) message.

WriteWarning(String)

Writes a warning message.

Applies to