LoadReportDefinitionFromStream

You can load the OlapReport as a stream to the OlapDataManager using LoadReportDefinitionFromStream method. This contains two steps as follows:

  1. Loading the report stream
  2. Loading the specific report in that stream by giving its name

The following code snippet will illustrate the loading of the report definition from a stream:

olapDataManager.LoadReportDefinitionFromStream(reportStream);
olapDataManager.LoadReport("SalesOn2003");
olapDataManager.LoadReportDefinitionFromStream(reportStream)
olapDataManager.LoadReport("SalesOn2003")

Sequential Diagram

The following sequential diagram shows the workflow of OlapBase when user gives input as OlapReport.

OLAP Base sequential diagram