- remove hard coded dependency on Entity Framework 4
- Fixed bug where query wasn't being executed and setting the output parameters