Exemplo n.º 1
0
            private LinqQueryExpression <Flat_Entity> Convert(ExpressionConversionVisitor <Flat_Entity> converter, Expression <Func <Flat_Entity, bool> > expr)
            {
                var conditionConverter = new ConditionConverter <Flat_Entity>(
                    converter.DataModel,
                    converter.TableIdentifier
                    );
                var converted = conditionConverter.ConvertClause(expr);

                return(new LinqQueryExpression <Flat_Entity>(
                           converted.QueryExpression, converted.Joins
                           ));
            }
Exemplo n.º 2
0
 public void AndAlso(Expression <Func <TEntity, bool> > conditionExpression)
 => AndAlso(_conditionConveter.ConvertClause(conditionExpression));