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