private static void AddConditionsSet <T>(ref string query, Expression <Func <T, bool> > predicate) { if (predicate != null) { query = query + " WHERE " + SOQLVisitor.ConvertToSOQL(predicate); } }
private string TestExpression(Expression <Func <TestAccount, bool> > expression) { return(SOQLVisitor.ConvertToSOQL(expression)); }