Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie to Linq
Message
De
08/08/2014 13:05:52
 
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01605340
Message ID:
01605348
Vues:
66
J'aime (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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform