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