コード例 #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());
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(CreateOlapReport());
 }
コード例 #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());
 }
コード例 #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());
 }
コード例 #5
0
ファイル: ViewModel.cs プロジェクト: silexcorp/wpf-demos
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(ReportWithMemberProperties());
 }
コード例 #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());
 }
コード例 #7
0
ファイル: ViewModel.cs プロジェクト: MuthusamyPonraj/WPF
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(SimpleDimensions());
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModel"/> class.
 /// </summary>
 public ViewModel()
 {
     olapDataManager = new OlapDataManager(ConnectionString);
     olapDataManager.SetCurrentReport(ProductSalesReport());
 }
コード例 #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());
 }