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