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; }
protected static DbSelect S_SUM <T>(string column, string other, DbSumExpressionType type) where T : IDbReader { return(new DbSelectSumExpression <T>(column, other, type)); }
protected static DbSelect S_SUM(string column, string other, DbSumExpressionType type) { return(new DbSelectSumExpression(column, other, type)); }