Highway Framework
Release 1.0.1.0
The fastest and smoothest way to great architecture
|
An Interface for Queries that return tasks of collections More...
Public Member Functions | |
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} | |
Public Member Functions inherited from Highway.Data.Interfaces.IQueryBase | |
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 |
An Interface for Queries that return tasks of collections
T | The Type being requested |
Task<IEnumerable<T> > Highway.Data.Interfaces.IAsyncQuery< 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}
context | the data context that the query should be executed against |
Implemented in Highway.Data.QueryObjects.AsyncQuery< T >.