Dela via


ComplexPropertyEventData Constructor

Definition

Constructs the event payload.

public ComplexPropertyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty property);
new Microsoft.EntityFrameworkCore.Diagnostics.ComplexPropertyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty -> Microsoft.EntityFrameworkCore.Diagnostics.ComplexPropertyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), property As IReadOnlyComplexProperty)

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.

Applies to