public void Dispose()
 {
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (TripRepository != null)
     {
         TripRepository.Dispose();
         TripRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (BookingRoomRepository != null)
     {
         BookingRoomRepository.Dispose();
         BookingRoomRepository = null;
     }
     if (BookingHistoryRepository != null)
     {
         BookingHistoryRepository.Dispose();
         BookingHistoryRepository = null;
     }
     if (LockedRepository != null)
     {
         LockedRepository.Dispose();
         LockedRepository = null;
     }
     if (CustomerRepository != null)
     {
         CustomerRepository.Dispose();
         CustomerRepository = null;
     }
     if (UserBLL != null)
     {
         UserBLL.Dispose();
         UserBLL = null;
     }
     if (SeriesRepository != null)
     {
         SeriesRepository.Dispose();
         SeriesRepository = null;
     }
     if (BusTypeRepository != null)
     {
         BusTypeRepository.Dispose();
         BusTypeRepository = null;
     }
 }
Beispiel #2
0
 public void Dispose()
 {
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (TripRepository != null)
     {
         TripRepository.Dispose();
         TripRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (BookingRoomRepository != null)
     {
         BookingRoomRepository.Dispose();
         BookingRoomRepository = null;
     }
     if (BookingHistoryRepository != null)
     {
         BookingHistoryRepository.Dispose();
         BookingHistoryRepository = null;
     }
     if (LockedRepository != null)
     {
         LockedRepository.Dispose();
         LockedRepository = null;
     }
     if (CustomerRepository != null)
     {
         CustomerRepository.Dispose();
         CustomerRepository = null;
     }
     if (UserUtil != null)
     {
         UserUtil.Dispose();
         UserUtil = null;
     }
 }
Beispiel #3
0
 public void Dispose()
 {
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContractRepository != null)
     {
         AgencyContractRepository.Dispose();
         AgencyContractRepository = null;
     }
     if (ContractRepository != null)
     {
         ContractRepository.Dispose();
         ContractRepository = null;
     }
     if (QuotationRepository != null)
     {
         QuotationRepository.Dispose();
         QuotationRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (AgencyNotesRepository != null)
     {
         AgencyNotesRepository.Dispose();
         AgencyNotesRepository = null;
     }
     if (RoleRepository != null)
     {
         RoleRepository.Dispose();
         RoleRepository = null;
     }
 }
Beispiel #4
0
 public void Dispose()
 {
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (RoomClassRepository != null)
     {
         RoomClassRepository.Dispose();
         RoomClassRepository = null;
     }
     if (RoomTypeRepository != null)
     {
         RoomTypeRepository.Dispose();
         RoomTypeRepository = null;
     }
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (CustomerRepository != null)
     {
         CustomerRepository.Dispose();
         CustomerRepository = null;
     }
     if (GoldenDayRepository != null)
     {
         GoldenDayRepository.Dispose();
         GoldenDayRepository = null;
     }
 }
 public void Dispose()
 {
     if (MenuRepository != null)
     {
         MenuRepository.Dispose();
         MenuRepository = null;
     }
     if (RestaurantBookingRepository != null)
     {
         RestaurantBookingRepository.Dispose();
         RestaurantBookingRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (CommissionRepository != null)
     {
         CommissionRepository.Dispose();
         CommissionRepository = null;
     }
     if (ServiceOutsideRepository != null)
     {
         ServiceOutsideRepository.Dispose();
         ServiceOutsideRepository = null;
     }
     if (GuideRepository != null)
     {
         GuideRepository.Dispose();
         GuideRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (ServiceOutsideDetailRepository != null)
     {
         ServiceOutsideDetailRepository.Dispose();
         ServiceOutsideDetailRepository = null;
     }
 }
Beispiel #6
0
 public void Dispose()
 {
     if (StoreProcedureRepository != null)
     {
         StoreProcedureRepository.Dispose();
         StoreProcedureRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (UserRepository != null)
     {
         UserRepository.Dispose();
         UserRepository = null;
     }
 }
Beispiel #7
0
 public void Dispose()
 {
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContractRepository != null)
     {
         AgencyContractRepository.Dispose();
         AgencyContractRepository = null;
     }
     if (ContractRepository != null)
     {
         ContractRepository.Dispose();
         ContractRepository = null;
     }
     if (QuotationRepository != null)
     {
         QuotationRepository.Dispose();
         QuotationRepository = null;
     }
 }
Beispiel #8
0
 public void Dispose()
 {
     if (ActivityRepository != null)
     {
         ActivityRepository.Dispose();
         ActivityRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (AgencyContactRepository != null)
     {
         AgencyContactRepository.Dispose();
         AgencyContactRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
 }
        public void Dispose()
        {
            if (AgencyRepository != null)
            {
                AgencyRepository.Dispose();
                AgencyRepository = null;
            }

            if (AgencyContactRepository != null)
            {
                AgencyContactRepository.Dispose();
                AgencyContactRepository = null;
            }

            if (SeriesRepository != null)
            {
                SeriesRepository.Dispose();
                SeriesRepository = null;
            }

            if (TripRepository != null)
            {
                TripRepository.Dispose();
                TripRepository = null;
            }

            if (RoomClassRepository != null)
            {
                RoomClassRepository.Dispose();
                RoomClassRepository = null;
            }

            if (RoomTypeRepository != null)
            {
                RoomTypeRepository.Dispose();
                RoomTypeRepository = null;
            }

            if (CruiseRepository != null)
            {
                CruiseRepository.Dispose();
                CruiseRepository = null;
            }

            if (BookingRepository != null)
            {
                BookingRepository.Dispose();
                BookingRepository = null;
            }

            if (BookingRoomRepository != null)
            {
                BookingRoomRepository.Dispose();
                BookingRoomRepository = null;
            }

            if (CustomerRepository != null)
            {
                CustomerRepository.Dispose();
                CustomerRepository = null;
            }
        }
 public void Dispose()
 {
     if (RouteRepository != null)
     {
         RouteRepository.Dispose();
         RouteRepository = null;
     }
     if (BusTypeRepository != null)
     {
         BusTypeRepository.Dispose();
         BusTypeRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (RoleRepository != null)
     {
         RoleRepository.Dispose();
         RoleRepository = null;
     }
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (BusByDateRepository != null)
     {
         BusByDateRepository.Dispose();
         BusByDateRepository = null;
     }
     if (BookingBusByDateRepository != null)
     {
         BookingBusByDateRepository.Dispose();
         BookingBusByDateRepository = null;
     }
     if (LockingTransferRepository != null)
     {
         LockingTransferRepository.Dispose();
         LockingTransferRepository = null;
     }
     if (ExpenseRepository != null)
     {
         ExpenseRepository.Dispose();
         ExpenseRepository = null;
     }
     if (ExpenseServiceRepository != null)
     {
         ExpenseServiceRepository.Dispose();
         ExpenseServiceRepository = null;
     }
     if (CostTypeRepository != null)
     {
         CostTypeRepository.Dispose();
         CostTypeRepository = null;
     }
     if (GuideRepository != null)
     {
         GuideRepository.Dispose();
         GuideRepository = null;
     }
 }
Beispiel #11
0
 public void Dispose()
 {
     if (BookingRepository != null)
     {
         BookingRepository.Dispose();
         BookingRepository = null;
     }
     if (CruiseRepository != null)
     {
         CruiseRepository.Dispose();
         CruiseRepository = null;
     }
     if (ExpenseRepository != null)
     {
         ExpenseRepository.Dispose();
         ExpenseRepository = null;
     }
     if (AgencyRepository != null)
     {
         AgencyRepository.Dispose();
         AgencyRepository = null;
     }
     if (UserRepository != null)
     {
         UserRepository.Dispose();
         UserRepository = null;
     }
     if (ExpenseHistoryRepository != null)
     {
         ExpenseHistoryRepository.Dispose();
         ExpenseHistoryRepository = null;
     }
     if (CostTypeRepository != null)
     {
         CostTypeRepository.Dispose();
         CostTypeRepository = null;
     }
     if (ExpenseServiceRepository != null)
     {
         ExpenseServiceRepository.Dispose();
         ExpenseServiceRepository = null;
     }
     if (LockingExpenseRepository != null)
     {
         LockingExpenseRepository.Dispose();
         LockingExpenseRepository = null;
     }
     if (BookingHistoryRepository != null)
     {
         BookingHistoryRepository.Dispose();
         BookingHistoryRepository = null;
     }
     if (BookingRoomRepository != null)
     {
         BookingRoomRepository.Dispose();
         BookingRoomRepository = null;
     }
     if (CustomerRepository != null)
     {
         CustomerRepository.Dispose();
         CustomerRepository = null;
     }
     if (AgencyNotesRepository != null)
     {
         AgencyNotesRepository.Dispose();
         AgencyNotesRepository = null;
     }
 }