UniquifiedPropertyEventData 构造函数

定义

构造事件有效负载。

public UniquifiedPropertyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, string basePropertyName);
new Microsoft.EntityFrameworkCore.Diagnostics.UniquifiedPropertyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * string -> Microsoft.EntityFrameworkCore.Diagnostics.UniquifiedPropertyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), property As IReadOnlyProperty, basePropertyName As String)

参数

eventDefinition
EventDefinitionBase

事件定义。

messageGenerator
Func<EventDefinitionBase,EventData,String>

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

property
IReadOnlyProperty

属性。

basePropertyName
String

未命名的属性名称。

适用于