Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exact match in where clause
Message
De
10/04/2012 18:21:59
 
 
À
10/04/2012 17:46:27
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:
01540879
Message ID:
01540934
Vues:
46
This message has been marked as the solution to the initial question of the thread.
As far as I know, the equals sign should give you an exact match in both VB and Sql Server. Exactly how it handles the equals sign in your where is going to depend on if oClient.ClientService.Clients() is IQueryable or IEnumerable. If its IQueryable, then the where clause should get translated into the Sql Server query equivalent and executed on the server. If its IEnumerable, then the list has already been retrieved and the filtering is done in memory using VB. The article at http://msdn.microsoft.com/en-us/vstudio/ff963710.aspx has a more in-depth look at the differences between the two.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform