ExpressionEventData Oluşturucu

Tanım

Olay yükünü oluşturur.

public ExpressionEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Linq.Expressions.Expression expression);
new Microsoft.EntityFrameworkCore.Diagnostics.ExpressionEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Diagnostics.ExpressionEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), expression As Expression)

Parametreler

eventDefinition
EventDefinitionBase

Olay tanımı.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Bu olay için günlük iletisi oluşturan bir temsilci.

expression
Expression

Expression.

Şunlara uygulanır