public System.Data.DataSet getCombinationDS(string HotelId, string mYear, string mMonth) { if (Helper.GetAppSetting<bool>(CONSTANT.USINGCACHESETTINGKEY)) { var cacheds = Helper.GetCacheData(HotelId, mYear, mMonth); if (cacheds == null) { JMReports.Business.RoomCompeteComponent rc = new Business.RoomCompeteComponent(); var ds = rc.getCombinationDS(HotelId, mYear, mMonth); ds.AddCacheData(HotelId, mYear, mMonth); } return Helper.GetCacheData(HotelId, mYear, mMonth); } else { JMReports.Business.RoomCompeteComponent rc = new Business.RoomCompeteComponent(); return rc.getCombinationDS(HotelId, mYear, mMonth); } }
public System.Data.DataSet getCombinationDS(string HotelId, string mYear, string mMonth) { JMReports.Business.RoomCompeteComponent rc = new Business.RoomCompeteComponent(); return rc.getCombinationDS(HotelId, mYear, mMonth); }