Exemple #1
0
 public DbSelectSumExpression(string column, string other, DbSumExpressionType type)
     : base(column)
 {
     if (column == null)
     {
         throw new ArgumentNullException("column");
     }
     if (other == null)
     {
         throw new ArgumentNullException("other");
     }
     _other = other;
     _type  = type;
 }
Exemple #2
0
 protected static DbSelect S_SUM <T>(string column, string other, DbSumExpressionType type) where T : IDbReader
 {
     return(new DbSelectSumExpression <T>(column, other, type));
 }
Exemple #3
0
 protected static DbSelect S_SUM(string column, string other, DbSumExpressionType type)
 {
     return(new DbSelectSumExpression(column, other, type));
 }