IncludeEventData Constructor

Definition

Constructs the event payload.

public IncludeEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Query.ResultOperators.Internal.IncludeResultOperator includeResultOperator);
new Microsoft.EntityFrameworkCore.Diagnostics.IncludeEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Query.ResultOperators.Internal.IncludeResultOperator -> Microsoft.EntityFrameworkCore.Diagnostics.IncludeEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), includeResultOperator As IncludeResultOperator)

Parameters

eventDefinition
EventDefinitionBase

The event definition.

messageGenerator
Func<EventDefinitionBase,EventData,String>

A delegate that generates a log message for this event.

includeResultOperator
Microsoft.EntityFrameworkCore.Query.ResultOperators.Internal.IncludeResultOperator

The IncludeResultOperator.

Applies to