コード例 #1
0
 public static string GetRoomAndRatePlanForBulk(int iPropId, Boolean OnlyBase)
 {
     using (OneFineRateEntities db = new OneFineRateEntities())
     {
         try
         {
             var MappedPlans     = db.uspGetRoomAndRatePlanForBulk(iPropId, OnlyBase);
             var MappedPlansList = MappedPlans.ToList();
             return(MappedPlansList[0].ToString());
         }
         catch (Exception)
         {
             throw;
         }
     }
 }