Compartilhar via


QueryModelEventData Construtor

Definição

Constrói o conteúdo do 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

A definição do evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Um delegado que gera uma mensagem de log para esse evento.

queryModel
Remotion.Linq.QueryModel

O QueryModel.

Aplica-se a