ReportPackager.UnPackageDocument() gives me a ReportBook instance. Now, I need to understand how can I assign DataSource to all the reports inside the ReportBook.
The ReportBook instance I get contains a collection of UriReportSource objects. I had thought about deserializing individual reports using the Url, add them to Reports collection and then pass that ReportBook to ReportProcessor, but I get a warning that Reports collection is obsolete.
Please let me know how I can assign DataSource to a ReportBook or each individual report.