Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaration of link objects
Message
De
07/11/2011 11:55:31
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
07/11/2011 11:49:29
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01528239
Message ID:
01528272
Vues:
34
>>The Count property will execute the query.
>
>Thanks
>
>So, will be any call to it such as loJobs.Last().UpdatedOn then.

Yep, will be executed. Are you using Entity Framework or Linq To SQL? If so, a database profiler is recommended to help catch possible inefficiencies.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform