Class MongoQueryContextFactory
- Namespace
- MongoDB.EntityFrameworkCore.Query.Factories
- Assembly
- MongoDB.EntityFrameworkCore.dll
A factory for creating MongoQueryContext instances.
public class MongoQueryContextFactory : IQueryContextFactory
- Inheritance
-
MongoQueryContextFactory
- Implements
- Inherited Members
Constructors
- MongoQueryContextFactory(QueryContextDependencies, IMongoClientWrapper)
Create a MongoQueryContextFactory.
Properties
- Client
The IMongoClientWrapper passed to each created MongoQueryContext.
- Dependencies
The QueryContextDependencies passed to each created MongoQueryContext.
Methods
- Create()
Create a new MongoQueryContext with necessary dependencies.