Created
April 21, 2014 04:47
-
-
Save chandermani/11132531 to your computer and use it in GitHub Desktop.
Fix PetaPoco DataReader error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var planEmployees = this.DB | |
.Query<Xhr.Data.Model.EmployeeLeavePlanView>("WHERE LeavePlanId=@0", p.Id) | |
.ToList(); //Did a ToList() to realize this query | |
// Same as it was earlier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment