I write this piece of code with C# using ADO.NET Entity Framework.
I found error in here
var departmentQuery = from d in schoolContext.Departments.Include("courses")
orderby d.Name // here
select d;
Error message is like the following:
Cannot convert lambda expression to type 'string' because it is not a delegate type
I am doing according this articles
http://msdn.microsoft.com/en-us/library/bb386884.aspx
please point out what do i need to modify?
Thanks in advance!
Best regards, RedsDevils