Compartir a través de


IncludeEventData Constructor

Definición

Construye la carga del evento.

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)

Parámetros

eventDefinition
EventDefinitionBase

Definición del evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegado que genera un mensaje de registro para este evento.

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

IncludeResultOperator.

Se aplica a