|
Highway Framework
Release 1.0.1.0
The fastest and smoothest way to great architecture
|
Base implementation of a query that returns a single value or object More...
Public Member Functions | |
| T | Execute (IDataContext context) |
| Executes the expression against the passed in context | |
Public Member Functions inherited from Highway.Data.QueryObjects.QueryBase | |
| void | AddMethodExpression (string methodName, Type[] generics, Expression[] parameters) |
| Adds a method to the expression in the query object | |
Properties | |
| Func< IDataContext, T > | ContextQuery [get, set] |
| The query to be executed later | |
Properties inherited from Highway.Data.QueryObjects.QueryBase | |
| IDataContext | Context [get, set] |
| The reference to the IDataContext that gives data connection | |
Additional Inherited Members | |
Protected Member Functions inherited from Highway.Data.QueryObjects.QueryBase | |
| void | CheckContextAndQuery (object query) |
| Checks the context and the Query for null | |
Protected Attributes inherited from Highway.Data.QueryObjects.QueryBase | |
| List< Tuple< MethodInfo, Expression[]> > | ExpressionList = new List<Tuple<MethodInfo, Expression[]>>() |
| Holds the expressions to be appended | |
Events inherited from Highway.Data.QueryObjects.QueryBase | |
| EventHandler< PreQueryEventArgs > | PreQuery |
| The event fired just before the query goes to the database | |
| EventHandler< PostQueryEventArgs > | PostQuery |
| The event fire just after the data is translated into objects but before the data is returned. | |
Events inherited from Highway.Data.Interfaces.IObservableQuery | |
Base implementation of a query that returns a single value or object
| T | The type of object or value being returned |
|
inline |
Executes the expression against the passed in context
| context | The data context that the scalar query is executed against |
Implements Highway.Data.Interfaces.IScalar< out T >.
|
getsetprotected |
The query to be executed later
1.8.1.1