Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong here?
Message
 
 
À
04/10/2012 13:58:02
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01554318
Message ID:
01554324
Vues:
40
>If you're doing generic, out of the box EF, you can do
>
>var client = Db.Clients.Find(clientId);
>
>>Never mind, found I have to use Single method instead of Select, then Single.

I don't have Find method available. Could it be because my models are not based on EF classes by just regular classes?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform