Class IMongoClientExtensions
Extension methods on IMongoClient.
public static class IMongoClientExtensions
- Inheritance
-
IMongoClientExtensions
- Inherited Members
Methods
- AppendMetadata(IMongoClient, LibraryInfo)
Appends the specified library information to the metadata sent to the server in the connection handshake. Only connections opened after this call are affected.
- Watch(IMongoClient, ChangeStreamOptions, CancellationToken)
Watches changes on all collections in all databases.
- Watch(IMongoClient, IClientSessionHandle, ChangeStreamOptions, CancellationToken)
Watches changes on all collections in all databases.
- WatchAsync(IMongoClient, ChangeStreamOptions, CancellationToken)
Watches changes on all collections in all databases.
- WatchAsync(IMongoClient, IClientSessionHandle, ChangeStreamOptions, CancellationToken)
Watches changes on all collections in all databases.