Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exact match in where clause
Message
From
10/04/2012 17:48:16
John Baird
Coatesville, Pennsylvania, United States
 
 
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:
01540920
Views:
26
>>case is alwarys sensitive in c# unless you use toUpper and ToLower....
>> We also have StartsWith, Contains, and any extension methods we wish to write.....all of which can be used in linq. I have a whole library of string extension methods that do all kinds of things from removing character sequences, to find and delete, to reverse, etc. all of which can be used in linq.
>
>So, in VB.NET, if I wish the where clause to go exact with an equal sign to a Char(10) field, will the equal sign be suffisant? Or, do I need to adapt the where clause syntax for something else?

I don't use VB.net ... I don't know if comparisons are ansi compliant or not... but it would be easy to create a list of strings... and use linq to query the list to make sure that the where clause you use are returning unique results..
Previous
Reply
Map
View

Click here to load this message in the networking platform