예제 #1
0
 public Expression2SqlCore <T> Sum(Expression <Func <T, object> > expression)
 {
     this._sqlPack.Clear();
     this._sqlPack.IsSingleTable = true;
     Expression2SqlProvider.Sum(expression.Body, this._sqlPack);
     return(this);
 }
예제 #2
0
 protected override SqlPack Sum(UnaryExpression expression, SqlPack sqlPack)
 {
     Expression2SqlProvider.Sum(expression.Operand, sqlPack);
     return(sqlPack);
 }