MigratorConnectionEventData Class

Definition

The DiagnosticSource event payload for RelationalEventId migration connection events.

public class MigratorConnectionEventData : Microsoft.EntityFrameworkCore.Diagnostics.MigratorEventData
type MigratorConnectionEventData = class
    inherit MigratorEventData
Public Class MigratorConnectionEventData
Inherits MigratorEventData
Inheritance
MigratorConnectionEventData

Remarks

See Logging, events, and diagnostics for more information and examples.

Constructors

MigratorConnectionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IMigrator, DbConnection, Guid)

Constructs the event payload.

Properties

Connection

The DbConnection.

ConnectionId

A correlation ID that identifies the DbConnection instance being used.

EventId

The EventId that defines the message ID and name.

(Inherited from EventData)
EventIdCode

A string representing the code where this event is defined.

(Inherited from EventData)
LogLevel

The LogLevel that would be used to log message for this event.

(Inherited from EventData)
Migrator

The IMigrator in use.

(Inherited from MigratorEventData)

Methods

ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to