Esempio n. 1
0
 public static ExpressionClip operator /(object left, ExpressionClip right)
 {
     ExpressionClip expr = new ExpressionClip(right.dbType, left);
     expr.Append(QueryOperator.Divide, right);
     return expr;
 }
Esempio n. 2
0
 public static ExpressionClip operator %(object left, ExpressionClip right)
 {
     ExpressionClip expr = new ExpressionClip(right.dbType, left);
     expr.Append(QueryOperator.Modulo, right);
     expr.dbType = DbType.Int32;
     return expr;
 }