Table of Contents

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.

IEnumerable<T> Execute<T>(MongoExecutableQuery executableQuery, out Action log)

Parameters

executableQuery MongoExecutableQuery

The MongoExecutableQuery containing everything needed to run the query.

log Action

The 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

T

The type of items being returned by the query.