Class MongoBulkWriteEventData
- Namespace
- MongoDB.EntityFrameworkCore.Diagnostics
- Assembly
- MongoDB.EntityFrameworkCore.dll
A DiagnosticSource event payload class for MongoDB bulk write events.
public class MongoBulkWriteEventData : EventData
- Inheritance
-
MongoBulkWriteEventData
- Inherited Members
Remarks
See Logging, events, and diagnostics for more information and examples.
Constructors
- MongoBulkWriteEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, TimeSpan, CollectionNamespace, long, long, long)
Constructs the event payload.
Properties
- CollectionNamespace
The CollectionNamespace being queried.
- DeleteCount
The number of documents to delete by this bulk write operation.
- Elapsed
The time elapsed since the command was sent to the database.
- InsertCount
The number of documents to insert in this bulk write operation.
- ModifyCount
The number of documents to modify by this bulk write operation.