Compartir a través de


QueryModelEventData Constructor

Definición

Construye la carga del evento.

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

Parámetros

eventDefinition
EventDefinitionBase

Definición del evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegado que genera un mensaje de registro para este evento.

queryModel
Remotion.Linq.QueryModel

QueryModel.

Se aplica a