Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie to Linq
Message
From
08/08/2014 13:05:52
 
General information
Forum:
ASP.NET
Category:
LINQ
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01605340
Message ID:
01605348
Views:
68
Likes (1)
>Hi Rob and thanks a lot for your solution - one thing I had to change is the include - Instead of Include(inv => inv.client) I had to change it to Include("client") as it gave a compilation error - but other than that it works fine - thanks again.

The lambda version of the include function is an extension method rather than directly part of an ObjectQuery object. You would need to use the System.Data.Entity namespace to have that as an option. See http://msdn.microsoft.com/en-us/library/gg671236%28v=vs.103%29.aspx.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform