My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 255: Implement Querymethod String.Equals
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----

Sign in to add a comment
Reported by, Jun 1, 2010
What steps will reproduce the problem?
1. Create a LINQ query on a MySQL 5.1 database using where to filter on a 
character field.
2. For example, "from masc in wc.MasCData
                 where masc.Customer.ToString().Equals(strCustomer)
                 select new { ... };".  
3. This is in Visual Studio 2008 (.NET 3.5) C#.

What is the expected output? What do you see instead?
No records returned; instead, an exception is thrown.  The message 
is, "S0133: Implement QueryMethod String.Equals."  I built the LINQ file 
using the --generate-equals-hash option.

What version of the product are you using? On what operating system?
0.20.1.  XP Professional, SP 3.

Please provide any additional information below.

Jul 19, 2010
Well, I have the same issue and its because of the Equals method. 

I am using Windows 7, VS2008 SP1, .net 3.5 SP1

I get this S0133: Implement QueryMethod String.Equals.

May 17, 2011
replace the Equals method with '==' 
Sign in to add a comment

Powered by Google Project Hosting