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