Use String.Equals() with StringComparison.OrdinalIgnoreCase instead of String.ToLower() #80

wants to merge 1 commit into from

3 participants


Changed use of ToLower (which is also culture-sensitive) to String.Equals with StringComparison.OrdinalIgnoreCase.


Hmmm. Is this a bug?


It will be, since some database systems allow Unicode object names then culture will have to be taken into account. MySql for example allows U+0080 - U+FFFF. Not sure if String.Equals is truly needed when checking the ArgumentNames, since "order by" and "columns" are static parts of SQL.


This was added already...

@robconery robconery closed this Sep 19, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment