public async Task <IReadOnlyList <TEntity> > ToListAsync(CancellationToken cancellationToken = default) { var tableName = _context.Config.Metadata.GetOrAddClassInfo(typeof(TEntity)).GetTableName(); return(await _context.QueryListAsync <TEntity>(tableName, GetNode(), cancellationToken).ConfigureAwait(false)); }