Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exact match in where clause
Message
From
10/04/2012 19:32:49
 
 
To
10/04/2012 18:21:59
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01540879
Message ID:
01540943
Views:
22
>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.

Thank you very much, this provides a very good answer.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform