示例#1
0
 public Task <long> CountAysnc <T>(ISqlExpression <T> expression)
 {
     return(Connection.ExecuteScalarAsync <long>(expression.CountClause(), expression.Params));
 }
示例#2
0
 public long Count <T>(ISqlExpression <T> expression)
 {
     return(Connection.ExecuteScalar <long>(expression.CountClause(), expression.Params));
 }