示例#1
0
 protected override SqlGenerate Update(LambdaExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Update(expression.Body, sqlGenerate);
     return(sqlGenerate);
 }
示例#2
0
 private static new void In(MethodCallExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Where(expression.Arguments[0], sqlGenerate);
     sqlGenerate += " in ";
     SqlExpressionProvider.In(expression.Arguments[1], sqlGenerate);
 }
示例#3
0
 private static void Equals(MethodCallExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Where(expression.Object, sqlGenerate);
     sqlGenerate += " = ";
     SqlExpressionProvider.Where(expression.Arguments[0], sqlGenerate);
 }
示例#4
0
 internal static void DoEnumerableMethodCall(MethodCallExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Where(expression.Arguments[0], sqlGenerate);
     sqlGenerate += " in ";
     SqlExpressionProvider.In(expression.Object, sqlGenerate);
 }