コード例 #1
0
 public Task <T> QueryAsync <T>(IAsyncQuery <T> query, CancellationToken cancellationToken = default)
 => Retry.DoAsync(() => query.ExecuteAsync(_connection, _transaction, cancellationToken), _retryOptions);
コード例 #2
0
 public T Query <T>(IQuery <T> query)
 => Retry.Do(() => query.Execute(_connection, _transaction), _retryOptions);