コード例 #1
0
        public IReportTable <ReportCell> BuildReportTable(IDataReader dataReader)
        {
            ReportTable <ReportCell> table = new ReportTable <ReportCell>
            {
                Properties = this.TableProperties,
                HeaderRows = this.CreateComplexHeader(),
                Rows       = this.GetRows(dataReader),
            };

            return(table);
        }
コード例 #2
0
        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);
        }