TwoPropertyBaseCollectionsEventData 构造函数

定义

重载

TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

构造事件有效负载。

TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

构造事件有效负载。

TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

构造事件有效负载。

public TwoPropertyBaseCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> secondPropertyCollection);
new Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), firstPropertyCollection As IReadOnlyList(Of IPropertyBase), secondPropertyCollection As IReadOnlyList(Of IPropertyBase))

参数

eventDefinition
EventDefinitionBase

事件定义。

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

firstPropertyCollection
IReadOnlyList<IPropertyBase>

第一个属性集合。

secondPropertyCollection
IReadOnlyList<IPropertyBase>

第二个属性集合。

适用于

TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

构造事件有效负载。

public TwoPropertyBaseCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> secondPropertyCollection);
new Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> -> Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), firstPropertyCollection As IReadOnlyList(Of IReadOnlyPropertyBase), secondPropertyCollection As IReadOnlyList(Of IReadOnlyPropertyBase))

参数

eventDefinition
EventDefinitionBase

事件定义。

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

firstPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

第一个属性集合。

secondPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

第二个属性集合。

适用于