public OptimisticSagaRepositoryLockStrategy(ILoadQueryProvider <TSaga> provider, ILoadQueryExecutor <TSaga> executor, IsolationLevel isolationLevel)
        {
            _provider = provider;
            _executor = executor;

            IsolationLevel = isolationLevel;
        }
 public OptimisticSagaLockContext(DbContext context, ISagaQuery <TSaga> query, CancellationToken cancellationToken, ILoadQueryProvider <TSaga> provider)
 {
     _context           = context;
     _query             = query;
     _cancellationToken = cancellationToken;
     _provider          = provider;
 }
 public OptimisticLoadQueryExecutor(ILoadQueryProvider <TSaga> provider)
 {
     _provider = provider;
 }
 public CustomSagaLoadQueryProvider(ILoadQueryProvider <TSaga> source, Func <IQueryable <TSaga>, IQueryable <TSaga> > customize)
 {
     _source    = source;
     _customize = customize;
 }