Пример #1
0
        public static DbExpression ParseLambda(LambdaExpression lambda, ScopeParameterDictionary scopeParameters, KeyDictionary <string> scopeTables)
        {
            GeneralExpressionVisitor visitor = new GeneralExpressionVisitor(scopeParameters, scopeTables);

            return(visitor.Visit(lambda));
        }
Пример #2
0
        public static DbExpression ParseLambda(LambdaExpression lambda, List <IMappingObjectExpression> moeList)
        {
            GeneralExpressionVisitor visitor = new GeneralExpressionVisitor(moeList);

            return(visitor.Visit(lambda));
        }
        public static DbExpression VisitPredicate(LambdaExpression lambda, List <IMappingObjectExpression> moeList)
        {
            var visitor = new GeneralExpressionVisitor(moeList);

            return(visitor.Visit(lambda));
        }
Пример #4
0
 public static DbExpression VisitPredicate(LambdaExpression lambda, List<IMappingObjectExpression> moeList)
 {
     var visitor = new GeneralExpressionVisitor(moeList);
     return visitor.Visit(lambda);
 }