Interface IMongoClientWrapper
- Namespace
- MongoDB.EntityFrameworkCore.Storage
- Assembly
- MongoDB.EntityFrameworkCore.dll
For internal use only. Interface may change between minor versions. Provides the interface between the MongoDB Entity Framework provider and the underlying MongoDB.Driver.IMongoClient.
public interface IMongoClientWrapper
Methods
- Execute<T>(MongoExecutableQuery, out Action)
A query and the associated metadata and provider needed to execute that query.
- GetCollection<T>(string)
Get an MongoDB.Driver.IMongoCollection<TDocument> for the given
collectionName;
- SaveUpdates(IEnumerable<MongoUpdate>)
Save updates to a MongoDB database.
- SaveUpdatesAsync(IEnumerable<MongoUpdate>, CancellationToken)
Save updates to a MongoDB database asynchronously.