Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaration of link objects
Message
De
07/11/2011 12:02:56
 
 
À
07/11/2011 11:53:08
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
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:
01528274
Vues:
39
>Something else that is interesting: if in between the first name and last name filter you executed the query (maybe accidentally used ToList()... I've seen it carelessly done several times), the last name filter would act on the already executed result, instead of combining and executing one query. Might not be that big of a deal, but it sure matters when you're using Entity Framework and that second filter is executed client-side instead of server-side. Could be a huge deal if it weren't such a trivial example.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform