This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I am getting error No mapping exists from object type ....Model.Teacher to a known managed provider native type when I do this :- var teacherHasRole = activity.ActivityCohortAssociations.Any(item => item.Cohort.CohortRoleAssignments.Any(assignment => assignment.Teacher == teacher)); What does this mean and how do I fix it? Thanks Sim |
|
|
Don't worry. Found the problem. This was in a method and is used from another linq statement. Has to do a ToList first |
|