diff Source/Data/Linq/Builder/ExpressionBuilder.QueryBuilder.cs @ 3:1ef98bd70424

!bug 100 +3h Исправление проблемы BLToolkit + mono 3.4
author cin
date Fri, 22 Aug 2014 17:34:46 +0400
parents f990fcb411a9
children
line wrap: on
line diff
--- a/Source/Data/Linq/Builder/ExpressionBuilder.QueryBuilder.cs	Fri Aug 22 13:41:57 2014 +0400
+++ b/Source/Data/Linq/Builder/ExpressionBuilder.QueryBuilder.cs	Fri Aug 22 17:34:46 2014 +0400
@@ -324,7 +324,7 @@
 					{
 						var pi = (MethodCallExpression)expr;
 						var e  = pi;
-						var l  = SqlProvider.ConvertMember(e.Method);
+						var l  = SqlProvider.ConvertMember(ReflectionHelper.ExtractMethodInfo(e));
 
 						if (l != null)
 							return l.Body.Unwrap().Find(PreferServerSide) != null;