Sdílet prostřednictvím


TwoUnmappedPropertyCollectionsEventData Konstruktor

Definice

Vytvoří datovou část události.

public TwoUnmappedPropertyCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo,Type>> firstPropertyCollection, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo,Type>> secondPropertyCollection);
public TwoUnmappedPropertyCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo?,Type>> firstPropertyCollection, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo?,Type>> secondPropertyCollection);
new Microsoft.EntityFrameworkCore.Diagnostics.TwoUnmappedPropertyCollectionsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * seq<System.Reflection.MemberInfo * Type> * seq<System.Reflection.MemberInfo * Type> -> Microsoft.EntityFrameworkCore.Diagnostics.TwoUnmappedPropertyCollectionsEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), firstPropertyCollection As IEnumerable(Of Tuple(Of MemberInfo, Type)), secondPropertyCollection As IEnumerable(Of Tuple(Of MemberInfo, Type)))

Parametry

eventDefinition
EventDefinitionBase

Definice události.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegát, který generuje zprávu protokolu pro tuto událost.

firstPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

První kolekce vlastností.

secondPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

Druhá kolekce vlastností.

Platí pro