NavigationEventData Class

Definition

A DiagnosticSource event payload class for events that have an INavigation.

public class NavigationEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
public class NavigationEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData, Microsoft.EntityFrameworkCore.Diagnostics.INavigationBaseEventData
type NavigationEventData = class
    inherit EventData
type NavigationEventData = class
    inherit EventData
    interface INavigationBaseEventData
Public Class NavigationEventData
Inherits EventData
Public Class NavigationEventData
Inherits EventData
Implements INavigationBaseEventData
Inheritance
NavigationEventData
Derived
Implements

Remarks

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

Constructors

NavigationEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, INavigation)

Constructs the event payload.

NavigationEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyNavigation)

Constructs the event payload.

Properties

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)
Navigation

The navigation.

Methods

ToString()

A logger message describing this event.

(Inherited from EventData)

Explicit Interface Implementations

INavigationBaseEventData.NavigationBase

The navigation.

Applies to