public InternalResult(IResultCursor cursor, BlockingExecutor executor)
        {
            _cursor   = cursor ?? throw new ArgumentNullException(nameof(cursor));
            _executor = executor ?? throw new ArgumentNullException(nameof(executor));

            _cursor    = cursor;
            _recordSet = new RecordSet(cursor, executor);
            _executor  = executor;
        }
 public InternalTransaction(IInternalAsyncTransaction txc, BlockingExecutor executor)
 {
     _txc      = txc ?? throw new ArgumentNullException(nameof(txc));
     _executor = executor ?? throw new ArgumentNullException(nameof(executor));
 }
Пример #3
0
 public InternalSession(IInternalAsyncSession session, IRetryLogic retryLogic, BlockingExecutor executor)
 {
     _session    = session ?? throw new ArgumentNullException(nameof(session));
     _retryLogic = retryLogic ?? throw new ArgumentNullException(nameof(retryLogic));
     _executor   = executor ?? throw new ArgumentNullException(nameof(executor));
 }
Пример #4
0
 public RecordSet(IResultCursor cursor, BlockingExecutor executor)
 {
     _cursor   = cursor;
     _executor = executor;
 }