QueryModelClientEvalEventData Costruttore

Definizione

Costruisce il payload dell'evento.

public QueryModelClientEvalEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Remotion.Linq.QueryModel queryModel, object queryModelElement);
new Microsoft.EntityFrameworkCore.Diagnostics.QueryModelClientEvalEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Remotion.Linq.QueryModel * obj -> Microsoft.EntityFrameworkCore.Diagnostics.QueryModelClientEvalEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), queryModel As QueryModel, queryModelElement As Object)

Parametri

eventDefinition
EventDefinitionBase

Definizione dell'evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegato che genera un messaggio di log per questo evento.

queryModel
Remotion.Linq.QueryModel

Oggetto Remotion.Linq.QueryModel.

queryModelElement
Object

Elemento del modello di query che richiede l'eval client.

Si applica a