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