Highway Framework  Release 1.0.1.0
The fastest and smoothest way to great architecture
 All Classes Namespaces Functions Variables Properties Events
Public Member Functions
Highway.Data.Interfaces.IAsyncQuery< T > Interface Template Reference

An Interface for Queries that return tasks of collections More...

Inheritance diagram for Highway.Data.Interfaces.IAsyncQuery< T >:
Highway.Data.Interfaces.IQueryBase Highway.Data.QueryObjects.AsyncQuery< T >

List of all members.

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

Detailed Description

An Interface for Queries that return tasks of collections

Template Parameters:
TThe Type being requested

Member Function Documentation

template<T >
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}

Parameters:
contextthe 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

Implemented in Highway.Data.QueryObjects.AsyncQuery< T >.


The documentation for this interface was generated from the following file: