Are the classes generated by DbContext Generator in EF4.1 considered as POCO and persistence ignorant?
If so, why am I getting an error: "The entity or complex type '' cannot be constructed in a LINQ to Entities query."?
This is my code:
return searchParam = from p in ent.PartnerProfiles
select new PartnerProfile
{
PartnerName = p.PartnerName
}.ToList();