I have a view in my sql database and it's mapped in my dbml file. Lets call ituserview
using(FooDataContext db = new FooDataContext()){
var users = from ur in db.userview
where ur.username == "james" //username is a colomn of userview
select ur;
}
I get the following error
Could not find an implementation of the query pattern for source type 'TestProject.Models.userview'. 'Select' not found.