Ejemplo n.º 1
0
 /// <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());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(CreateOlapReport());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(ReportWithMemberProperties());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(SimpleDimensions());
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(ProductSalesReport());
 }
Ejemplo n.º 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());
 }