Class UniquifiedPropertyEventData
- Namespace
- Microsoft.EntityFrameworkCore.Diagnostics
- Assembly
- Microsoft.EntityFrameworkCore.dll
A DiagnosticSource event payload class for events that have a property that has been uniquified.
public class UniquifiedPropertyEventData : PropertyEventData
- Inheritance
-
UniquifiedPropertyEventData
- Inherited Members
Remarks
See Logging, events, and diagnostics for more information and examples.
Constructors
UniquifiedPropertyEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, IReadOnlyProperty, string)
Constructs the event payload.
public UniquifiedPropertyEventData(EventDefinitionBase eventDefinition, Func<EventDefinitionBase, EventData, string> messageGenerator, IReadOnlyProperty property, string basePropertyName)
Parameters
eventDefinition
EventDefinitionBaseThe event definition.
messageGenerator
Func<EventDefinitionBase, EventData, string>A delegate that generates a log message for this event.
property
IReadOnlyPropertyThe property.
basePropertyName
stringThe property name that was uniquified.
Properties
BasePropertyName
The property name that was uniquified.
public virtual string BasePropertyName { get; }