Hi, when doing a simple linq where clause in VB with a string comparison (ex: Where customer.Name = "Fred") NHibernate throws an exception on VBStringComparisonExpression not supported.
After googling around I found this by the remotion guys: https://www.re-motion.org/blogs/mix/2010/07/15 So I got it to work by adding the following to NHibernate.Linq.Visitors.NhExpressionTreeVisitor in the VisitExpression method: if (expression is VBStringComparisonExpression) { return ((VBStringComparisonExpression)expression).Reduce(); } My question is this the best place for this? I tried hard without success to find a way to handle this without modifying the source. Also, are there any plans for NHibernate to support this nativley? Thanks, Brian
