QueryModelClientEvalEventData Constructor

Definition

Constructs the event payload.

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)

Parameters

eventDefinition
EventDefinitionBase

The event definition.

messageGenerator
Func<EventDefinitionBase,EventData,String>

A delegate that generates a log message for this event.

queryModel
Remotion.Linq.QueryModel

The Remotion.Linq.QueryModel.

queryModelElement
Object

The query model element requiring client-eval.

Applies to