Method SaveUpdatesAsync
- Namespace
- MongoDB.EntityFrameworkCore.Storage
- Assembly
- MongoDB.EntityFrameworkCore.dll
SaveUpdatesAsync(IEnumerable<MongoUpdate>, CancellationToken)
Save the supplied MongoUpdate operations to the database asynchronously.
public Task<long> SaveUpdatesAsync(IEnumerable<MongoUpdate> updates, CancellationToken cancellationToken)
Parameters
updatesIEnumerable<MongoUpdate>An IEnumerable<T> containing the updates to apply to the database.
cancellationTokenCancellationTokenA CancellationToken that can be used to cancel the operation.