It does look a little suspicious. Shouldn't be hard to create a failing test? From: Diego Mijelshon Sent: Thursday, April 08, 2010 3:17 PM To: nhibernate-development Subject: [nhibernate-development] ToLower and ToUpper inverted in Linq?
These lines from NHibernate.Linq.Functions.StringGenerator caught my attention today while researching http://stackoverflow.com/questions/2598202/does-nhibernate-linq-support-tolower-in-where-clauses: if (((method.Name == "ToUpper") || (method.Name == "ToUpperInvariant"))) { methodName = "lower"; } else { methodName = "upper"; } Isn't it supposed to be the other way around? Diego -- To unsubscribe, reply using "remove me" as the subject.
