Table of Contents

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 EventDefinitionBase

The event definition.

messageGenerator Func<EventDefinitionBase, EventData, string>

A delegate that generates a log message for this event.

entityType IEntityType

The entity type that the stored procedure is mapped to.

property IProperty

The property.

storedProcedureName string

The stored procedure name.

Properties

EntityType

The entity type that the stored procedure is mapped to.

public virtual IEntityType EntityType { get; }

Property Value

IEntityType

StoredProcedureName

The stored procedure name.

public virtual string StoredProcedureName { get; }

Property Value

string