public Task <T> ExecuteScalarAsync <T>(Sql sql) { return(RetryPolicy.ExecuteAsync(() => InternalDb.ExecuteScalarAsync <T>(sql))); }
public Task <T> ExecuteScalarAsync <T>(string sql, object[] args) { return(RetryPolicy.ExecuteAsync(() => InternalDb.ExecuteScalarAsync <T>(sql, args))); }