Class MongoQueryEventData
- Namespace
- MongoDB.EntityFrameworkCore.Diagnostics
- Assembly
- MongoDB.EntityFrameworkCore.dll
A DiagnosticSource event payload class for MongoDB query events.
public class MongoQueryEventData : EventData
- Inheritance
-
MongoQueryEventData
- Inherited Members
Remarks
See Logging, events, and diagnostics for more information and examples.
Constructors
- MongoQueryEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, CollectionNamespace, string, bool)
Constructs the event payload.
Properties
- CollectionNamespace
The CollectionNamespace being queried.
- LogSensitiveData
Indicates whether the application allows logging of sensitive data.
- QueryMql
The MQL representing the query.