I had to use Entity Framework to equip an advanced search to my website application.
The model is generated from the database and has own entities but has some complex s
This is your problem, read up on c# anonymous types
q => new { q.cFName, q.cLName, q.cSex, q.aId, q.cId, q.stars });
Remove new, and if needed create a new type to hold this, adding back in new with
new MyNewType {.. };
THen use this type in your method