コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DrillThroughViewModel"/> class.
 /// </summary>
 public DrillThroughViewModel()
 {
     if (AppDomain.CurrentDomain.BaseDirectory.Contains("Binaries_"))
     {
         ConnectionString = DrillThroughModel.Initialize(System.IO.Path.GetFullPath(@"..\..\common\Assets\Config\OLAPSample.config"));
     }
     else
     {
         ConnectionString = DrillThroughModel.Initialize(System.IO.Path.GetFullPath(@"..\..\..\common\Assets\Config\OLAPSample.config"));
     }
     this.olapDataManager = new OlapDataManager(ConnectionString);
     this.olapDataManager.SetCurrentReport(CreateOlapReport());
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DrillThroughViewModel"/> class.
 /// </summary>
 public DrillThroughViewModel()
 {
     ConnectionString     = DrillThroughModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     this.olapDataManager = new OlapDataManager(ConnectionString);
     this.olapDataManager.SetCurrentReport(CreateOlapReport());
 }