public IReportTable <ReportCell> BuildReportTable(IDataReader dataReader) { ReportTable <ReportCell> table = new ReportTable <ReportCell> { Properties = this.TableProperties, HeaderRows = this.CreateComplexHeader(), Rows = this.GetRows(dataReader), }; return(table); }
public override IReportTable <ReportCell> BuildReportTable(IEnumerable <TSourceEntity> source) { ReportTable <ReportCell> table = new ReportTable <ReportCell> { Properties = this.TableProperties, HeaderRows = this.CreateComplexHeader(), Rows = this.GetRows(source), }; return(table); }