Udostępnij za pośrednictwem


ValueConverterEventData Konstruktor

Definicja

Tworzy ładunek zdarzenia.

public ValueConverterEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Type mappingClrType, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter valueConverter);
new Microsoft.EntityFrameworkCore.Diagnostics.ValueConverterEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Type * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.Diagnostics.ValueConverterEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), mappingClrType As Type, valueConverter As ValueConverter)

Parametry

eventDefinition
EventDefinitionBase

Definicja zdarzenia.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegat, który generuje komunikat dziennika dla tego zdarzenia.

mappingClrType
Type

Typ CLR.

valueConverter
ValueConverter

Element ValueConverter.

Dotyczy