/// <summary>
 /// Initializes a new instance of the <see cref="CalculatedMembersViewModel"/> class.
 /// </summary>
 public CalculatedMembersViewModel()
 {
     if (AppDomain.CurrentDomain.BaseDirectory.Contains("Binaries_"))
     {
         ConnectionString = CalculatedMembersModel.Initialize(System.IO.Path.GetFullPath(@"..\..\common\Assets\Config\OLAPSample.config"));
     }
     else
     {
         ConnectionString = CalculatedMembersModel.Initialize(System.IO.Path.GetFullPath(@"..\..\..\common\Assets\Config\OLAPSample.config"));
     }
     this.olapDataManager = new OlapDataManager(ConnectionString);
     this.olapDataManager.SetCurrentReport(CalculatedReport());
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CalculatedMembersViewModel"/> class.
 /// </summary>
 public CalculatedMembersViewModel()
 {
     ConnectionString     = CalculatedMembersModel.Initialize(System.IO.Path.GetFullPath(@"Assets\Config\OLAPSample.config"));
     this.olapDataManager = new OlapDataManager(ConnectionString);
     this.olapDataManager.SetCurrentReport(CalculatedReport());
 }