CommandCorrelatedEventData Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DiagnosticSource event payload for events correlated with a DbCommand.
public class CommandCorrelatedEventData : Microsoft.EntityFrameworkCore.Diagnostics.DbContextEventData
type CommandCorrelatedEventData = class
inherit DbContextEventData
Public Class CommandCorrelatedEventData
Inherits DbContextEventData
- Inheritance
- Derived
See Logging, events, and diagnostics for more information and examples.
Command |
A correlation ID that identifies the DbCommand instance being used. |
Command |
Source of the command. |
Connection |
The DbConnection. |
Connection |
A correlation ID that identifies the DbConnection instance being used. |
Context |
The current DbContext. (Inherited from DbContextEventData) |
Event |
The EventId that defines the message ID and name. (Inherited from EventData) |
Event |
A string representing the code where this event is defined. (Inherited from EventData) |
Execute |
The DbCommandMethod method. |
Is |
Indicates whether or not the operation is being executed asynchronously. |
Log |
The LogLevel that would be used to log message for this event. (Inherited from EventData) |
Start |
The start time of this event. |
To |
A logger message describing this event. (Inherited from EventData) |
מוצר | גירסאות |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
משוב של Entity Framework
Entity Framework הוא פרויקט קוד פתוח. בחר קישור כדי לספק משוב: