|
Highway Framework
Release 1.0.1.0
The fastest and smoothest way to great architecture
|
A Entity Framework Specific repository implementation that uses Specification pattern to execute Queries in a controlled fashion. More...
Public Member Functions | |
| Repository (IDataContext context) | |
| Creates a Repository that uses the context provided | |
| T | Get< T > (IScalar< T > query) |
| Executes a prebuilt IScalar{T} and returns a single instance of T | |
| void | Execute (ICommand command) |
| Executes a prebuilt ICommand | |
| IEnumerable< T > | Find< T > (IQuery< T > query) |
| Executes a prebuilt IQuery{T} and returns an IEnumerable{T} | |
Properties | |
| IDataContext | Context [get, set] |
| Reference to the DataContext the repository is using | |
| IEventManager | EventManager [get, set] |
| Reference to the EventManager the repository is using | |
Properties inherited from Highway.Data.Interfaces.IRepository | |
A Entity Framework Specific repository implementation that uses Specification pattern to execute Queries in a controlled fashion.
|
inline |
Creates a Repository that uses the context provided
| context | The data context that this repository uses |
|
inline |
Executes a prebuilt ICommand
| command | The prebuilt command object |
Implements Highway.Data.Interfaces.IRepository.
|
inline |
Executes a prebuilt IQuery{T} and returns an IEnumerable{T}
| T | The Entity being queried |
| query | The prebuilt Query Object |
Implements Highway.Data.Interfaces.IRepository.
| T | : | class |
|
inline |
Executes a prebuilt IScalar{T} and returns a single instance of T
| T | The Entity being queried |
| query | The prebuilt Query Object |
Implements Highway.Data.Interfaces.IRepository.
|
getset |
Reference to the DataContext the repository is using
Implements Highway.Data.Interfaces.IRepository.
|
getset |
Reference to the EventManager the repository is using
Implements Highway.Data.Interfaces.IRepository.
1.8.1.1