Exemplo n.º 1
0
 protected override SqlGenerate Min(LambdaExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Min(expression.Body, sqlGenerate);
     return(sqlGenerate);
 }
 private static new void In(MethodCallExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Where(expression.Arguments[0], sqlGenerate);
     sqlGenerate += " in ";
     SqlExpressionProvider.In(expression.Arguments[1], sqlGenerate);
 }
 private static void Equals(MethodCallExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Where(expression.Object, sqlGenerate);
     sqlGenerate += " = ";
     SqlExpressionProvider.Where(expression.Arguments[0], sqlGenerate);
 }
 internal static void DoEnumerableMethodCall(MethodCallExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Where(expression.Arguments[0], sqlGenerate);
     sqlGenerate += " in ";
     SqlExpressionProvider.In(expression.Object, sqlGenerate);
 }