Partager via


TwoUnmappedPropertyCollectionsEventData Constructeur

Définition

Construit la charge utile d’événement.

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)))

Paramètres

eventDefinition
EventDefinitionBase

Définition d’événement.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Délégué qui génère un message de journal pour cet événement.

firstPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

Première collection de propriétés.

secondPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

Deuxième collection de propriétés.

S’applique à