Partager via


IncludeEventData Constructeur

Définition

Construit la charge utile de l’événement.

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)

Paramètres

eventDefinition
EventDefinitionBase

Définition d’événement.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Délégué qui génère un message de journal pour cet événement.

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

L’IncludeResultOperatoropérateur

S’applique à