Table of Contents

Class ComplexPropertyEventData

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

A DiagnosticSource event payload class for events that have a property.

public class ComplexPropertyEventData : EventData
Inheritance
ComplexPropertyEventData
Inherited Members

Remarks

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

Constructors

ComplexPropertyEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, IReadOnlyComplexProperty)

Constructs the event payload.

public ComplexPropertyEventData(EventDefinitionBase eventDefinition, Func<EventDefinitionBase, EventData, string> messageGenerator, IReadOnlyComplexProperty property)

Parameters

eventDefinition EventDefinitionBase

The event definition.

messageGenerator Func<EventDefinitionBase, EventData, string>

A delegate that generates a log message for this event.

property IReadOnlyComplexProperty

The property.

Properties

Property

The property.

public virtual IReadOnlyComplexProperty Property { get; }

Property Value

IReadOnlyComplexProperty