public T ExecuteScalar <T>(string sql, CommandType commandType, params object[] args)
 {
     return(RetryPolicy.ExecuteAction(() => InternalDb.ExecuteScalar <T>(sql, commandType, args)));
 }
 public T ExecuteScalar <T>(Sql sql)
 {
     return(RetryPolicy.ExecuteAction(() => InternalDb.ExecuteScalar <T>(sql)));
 }