Help with Where Clause in LinqPad

edited June 2012
Hi buddies,
I am new to LINQPad. I am using LINQ to Entities and LINQ to oData but have problems whenever I try to use a where clause:
from s in Students
where s.StudentId == 34
select s
I get the error:
'LINQPad.User.Student' does not contain a definition for 'StudentId' and no extension method 'StudentId' accepting a first argument of type 'LINQPad.User.Student' could be found (press F4 to add a using directive or assembly reference)
Please help me.

Comments

Sign In or Register to comment.