EFIngresProvider/SqlGen/SqlGenerator/SqlGeneratorHelpers.cs
/// <summary>
/// Dump out an expression - optionally wrap it with parantheses if possible
/// </summary>
/// <param name="e"></param>
/// <param name="result"></param>
Dump out an expression - optionally wrap it with parantheses if possible
Dump out an expression - optionally wrap it with parantheses if possible
private ISqlFragment ParanthesizeExpressionIfNeeded(DbExpression e)
        {
            if (IsComplexExpression(e))
            {
                return new SqlBuilder("(", e.Accept(this), ")");
            }
            else
            {
                return e.Accept(this);
            }
        }
private ISqlFragment ParanthesizeExpressionIfNeeded ( DbExpression e ) { if ( IsComplexExpression ( e ) ) { return new SqlBuilder ( " " , e . Accept ( this ) , " " ) ; } else { return e . Accept ( this ) ; } }
Dump out an expression - optionally wrap it with parantheses if possible
Dump out an expression - optionally wrap it with parantheses if possible
e
DbExpression
None
result
None