List of all members.
Public Member Functions |
| AsyncQuery (IQuery< T > query) |
| Constructs an AsyncQuery from an existing non-Async Query
|
Task< IEnumerable< T > > | Execute (IDataContext context) |
| This creates a task that executes the expression in ContextQuery on the context that is passed in, resulting in a IQueryable{T} that is returned as an IEnumerable{T}
|
string | OutputSQLStatement (IDataContext context) |
| This executes the expression against the passed in context to generate the SQL statement, but doesn't execute the IQueryable against the data context
|
Member Function Documentation
This creates a task that executes the expression in ContextQuery on the context that is passed in, resulting in a IQueryable{T} that is returned as an IEnumerable{T}
- Parameters:
-
context | the data context that the query should be executed against |
- Returns:
- A Task{T} that returns a collection of T that the query materialized if any
Implements Highway.Data.Interfaces.IAsyncQuery< T >.
This executes the expression against the passed in context to generate the SQL statement, but doesn't execute the IQueryable against the data context
- Parameters:
-
context | The data context that the query is evaluated and the SQL is generated against |
- Returns:
- The SQL Statement from the Query
Implements Highway.Data.Interfaces.IQueryBase.
The documentation for this class was generated from the following file:
- Highway.Data.EntityFramework/QueryObjects/AsyncQuery.cs