Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exact match in where clause
Message
From
10/04/2012 18:21:59
 
 
To
10/04/2012 17:46:27
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:
01540934
Views:
45
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform