Exemplo n.º 1
0
        public IAsyncEnumerable <IReadOnlyList <TEntity> > ToParallelAsyncEnumerable(int totalSegments)
        {
            var tableName = _context.Config.Metadata.GetOrAddClassInfo(typeof(TEntity)).GetTableName();

            return(_context.ParallelScanAsyncEnumerable <TEntity>(tableName, _node, totalSegments));
        }