Class MongoTransactionEventData
- Namespace
- MongoDB.EntityFrameworkCore.Diagnostics
- Assembly
- MongoDB.EntityFrameworkCore.dll
The DiagnosticSource event payload base class for MongoEventId transaction events.
public class MongoTransactionEventData : DbContextEventData
- Inheritance
-
MongoTransactionEventData
- Derived
- Inherited Members
Remarks
See Logging, events, and diagnostics for more information and examples.
Constructors
- MongoTransactionEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, MongoTransaction, bool, DateTimeOffset)
Constructs the event payload.
Properties
- IsAsync
Indicates whether or not the transaction is being used asynchronously.
- StartTime
The start time of this event.