Method Execute
- Namespace
- MongoDB.EntityFrameworkCore.Storage
- Assembly
- MongoDB.EntityFrameworkCore.dll
Execute<T>(MongoExecutableQuery, out Action)
A query and the associated metadata and provider needed to execute that query.
IEnumerable<T> Execute<T>(MongoExecutableQuery executableQuery, out Action log)
Parameters
executableQueryMongoExecutableQueryThe MongoExecutableQuery that will be executed.
logActionThe Action that should be called upon evaluation of the query to log it.
Returns
- IEnumerable<T>
An IEnumerable<T> containing the results of the query.
Type Parameters
TThe type of results being returned.