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 | Properties
Highway.Data.QueryObjects.Command Class Reference

More...

Inheritance diagram for Highway.Data.QueryObjects.Command:
Highway.Data.QueryObjects.QueryBase Highway.Data.Interfaces.ICommand Highway.Data.Interfaces.IExtendableQuery Highway.Data.Interfaces.IObservableQuery

List of all members.

Public Member Functions

virtual void Execute (IDataContext context)
 Executes the expression against the passed in context and ignores the returned value if any
- 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

Action< IDataContextContextQuery [get, set]
 The Command that will be executed at some point in the future
- 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< PreQueryEventArgsPreQuery
 The event fired just before the query goes to the database
EventHandler< PostQueryEventArgsPostQuery
 The event fire just after the data is translated into objects but before the data is returned.
- Events inherited from Highway.Data.Interfaces.IObservableQuery

Detailed Description


Member Function Documentation

virtual void Highway.Data.QueryObjects.Command.Execute ( IDataContext  context)
inlinevirtual

Executes the expression against the passed in context and ignores the returned value if any

Parameters:
contextThe data context that the command is executed against

Implements Highway.Data.Interfaces.ICommand.


Property Documentation

Action<IDataContext> Highway.Data.QueryObjects.Command.ContextQuery
getsetprotected

The Command that will be executed at some point in the future


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