Method Execute
- Namespace
- MongoDB.EntityFrameworkCore.Storage
- Assembly
- MongoDB.EntityFrameworkCore.dll
Execute<T>(MongoExecutableQuery, out Action)
Execute a MongoExecutableQuery and return a Action that should be executed once the first item has been enumerated.
public IEnumerable<T> Execute<T>(MongoExecutableQuery executableQuery, out Action log)
Parameters
executableQueryMongoExecutableQueryThe MongoExecutableQuery containing everything needed to run the query.
logActionThe Action returned that will perform the MQL log once evaluation has happened.
Returns
- IEnumerable<T>
An IEnumerable<T> containing the items returned by the query.
Type Parameters
TThe type of items being returned by the query.