Table of Contents

Class UpdateEntryEventData

Namespace
Microsoft.EntityFrameworkCore.Diagnostics
Assembly
Microsoft.EntityFrameworkCore.dll

A DiagnosticSource event payload class for events that have an entity update entry.

public class UpdateEntryEventData : DbContextEventData
Inheritance
UpdateEntryEventData
Inherited Members

Remarks

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

Constructors

UpdateEntryEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, IUpdateEntry)

Constructs the event payload.

public UpdateEntryEventData(EventDefinitionBase eventDefinition, Func<EventDefinitionBase, EventData, string> messageGenerator, IUpdateEntry entityEntry)

Parameters

eventDefinition EventDefinitionBase

The event definition.

messageGenerator Func<EventDefinitionBase, EventData, string>

A delegate that generates a log message for this event.

entityEntry IUpdateEntry

The entry for the entity instance on which the property value has changed.

Properties

EntityEntry

The entry for the entity instance on which the property value has changed.

public virtual IUpdateEntry EntityEntry { get; }

Property Value

IUpdateEntry