This question is locked. New answers and comments are not allowed.
Hi,
When we had Linq queries that were built using Telerik_OpenAccess_ORM_Express_2010_1_310 which worked perfectly. We upgraded to version Telerik_OpenAccess_ORM_Express_2010_1_312 but now the queries don't work. See belowpublic IObjectScopeFactory ObjectScopeFactory { set; get; } |
/// <summary> |
/// Convenience method to pull the object scope from the factory |
/// </summary> |
public IObjectScope ObjectScope |
{ |
get |
{ |
return ObjectScopeFactory.GetObjectScope(); |
} |
} |
IQueryable<Message> result = from msg in ObjectScope.Extent<Message>() from prf in ObjectScope.Extent<Profile>() where prf.ProfileId == profileId where msg.Recipients.Contains(prf) select msg; return result.ToList(); |
We receive the following exception.