/// <summary>
 /// Initializes a new instance of the <see cref="SerializationViewModel"/> class.
 /// </summary>
 public SerializationViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(SimpleDimensions());
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(CreateOlapReport());
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SalesOfProductsAnalysisViewModel"/> class.
 /// </summary>
 public SalesOfProductsAnalysisViewModel()
 {
     ConnectionString = OlapChartModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(OlapReport());
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GridLayoutViewModel"/> class.
 /// </summary>
 public GridLayoutViewModel()
 {
     ConnectionString = KPIModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(CreateOlapReport());
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(ReportWithMemberProperties());
 }
Exemple #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExportingGridViewModel"/> class.
 /// </summary>
 public ExportingGridViewModel()
 {
     ConnectionString = KPIModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(LoadReports());
 }
Exemple #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(SimpleDimensions());
 }
Exemple #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(ProductSalesReport());
 }
Exemple #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CellTemplateViewModel"/> class.
 /// </summary>
 public CellTemplateViewModel()
 {
     ConnectionString = KPIModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     olapDataManager  = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(ProductSalesReport());
 }