Skip to content

TcfOss.Filtering.XlsxOutput

Documentation | Repository

XLSX export extensions for filtered/sorted IQueryable<T> data.

What this package adds

  • ToExcelStream overloads for direct query export to OpenXML workbook streams.
  • Overloads that accept IFilter, SortComponent[], maxRows, and optional ParsingConfig.
  • Async stream writing for IAsyncEnumerable<T>.

Typical usage

using Stream xlsx = query.ToExcelStream(filter, sorts, maxRows: 1000);

With explicit parsing config:

using Stream xlsx = query.ToExcelStream(filter, sorts, maxRows: 1000, parsingConfig: customConfig);