Condividi tramite


ComplexPropertyEventData Costruttore

Definizione

Costruisce il payload dell'evento.

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)

Parametri

eventDefinition
EventDefinitionBase

Definizione dell'evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegato che genera un messaggio di log per questo evento.

property
IReadOnlyComplexProperty

Proprietà.

Si applica a