comparison 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
comparison
equal deleted inserted replaced
2:79a04c6442bf 3:1ef98bd70424
322 322
323 case ExpressionType.Call: 323 case ExpressionType.Call:
324 { 324 {
325 var pi = (MethodCallExpression)expr; 325 var pi = (MethodCallExpression)expr;
326 var e = pi; 326 var e = pi;
327 var l = SqlProvider.ConvertMember(e.Method); 327 var l = SqlProvider.ConvertMember(ReflectionHelper.ExtractMethodInfo(e));
328 328
329 if (l != null) 329 if (l != null)
330 return l.Body.Unwrap().Find(PreferServerSide) != null; 330 return l.Body.Unwrap().Find(PreferServerSide) != null;
331 331
332 var attr = GetFunctionAttribute(e.Method); 332 var attr = GetFunctionAttribute(e.Method);