public string GetMDXQuery(Dictionary <string, object> jsonResult) { OlapDataManager DataManager = new OlapDataManager(connectionString); DataManager.SetCurrentReport(OLAPUTILS.Utils.DeserializeOlapReport(jsonResult["olapReport"].ToString())); return(DataManager.GetMDXQuery()); }
public string GetMDXQuery(string olapReport) { OlapDataManager DataManager = new OlapDataManager(connectionString); DataManager.SetCurrentReport(OLAPUTILS.Utils.DeserializeOlapReport(olapReport)); return(DataManager.GetMDXQuery()); }