TwoUnmappedPropertyCollectionsEventData 构造函数

定义

构造事件有效负载。

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

参数

eventDefinition
EventDefinitionBase

事件定义。

messageGenerator
Func<EventDefinitionBase,EventData,String>

生成此事件的日志消息的委托。

firstPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

第一个属性集合。

secondPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

第二个属性集合。

适用于