Class StoredProcedurePropertyEventData
- Namespace
- Microsoft.EntityFrameworkCore.Diagnostics
- Assembly
- Microsoft.EntityFrameworkCore.dll
A DiagnosticSource event payload class for events that have involving mapping of a property to a stored procedure.
public class StoredProcedurePropertyEventData : PropertyEventData
- Inheritance
-
StoredProcedurePropertyEventData
- Inherited Members
Remarks
See Logging, events, and diagnostics for more information and examples.
Constructors
StoredProcedurePropertyEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, IEntityType, IProperty, string)
Constructs the event payload.
public StoredProcedurePropertyEventData(EventDefinitionBase eventDefinition, Func<EventDefinitionBase, EventData, string> messageGenerator, IEntityType entityType, IProperty property, string storedProcedureName)
Parameters
eventDefinition
EventDefinitionBaseThe event definition.
messageGenerator
Func<EventDefinitionBase, EventData, string>A delegate that generates a log message for this event.
entityType
IEntityTypeThe entity type that the stored procedure is mapped to.
property
IPropertyThe property.
storedProcedureName
stringThe stored procedure name.
Properties
EntityType
The entity type that the stored procedure is mapped to.
public virtual IEntityType EntityType { get; }
Property Value
StoredProcedureName
The stored procedure name.
public virtual string StoredProcedureName { get; }