public FacadeBase() { _airlineDAO = new AirlineDAOMSSQL(); _countryDAO = new CountryDAOMSSQL(); _customerDAO = new CustomerDAOMSSQL(); _flightDAO = new FlightDAOMSSQL(); _ticketDAO = new TicketDAOMSSQL(); }
public FacadeBase() { this._airlineDAO = new AirlineDAOMSSQL(); this._countryDAO = new CountryDAOMSQQL(); this._customerDAO = new CustomerDAOMSSQL(); this._flightDAO = new FlightDAOMSSQL(); this._ticketDAO = new TIcketDAOMSSQL(); }
public FacadeBase(IAirlineDAO airlineDAO, ICountryDAO countryDAO, ICustomerDAO customerDAO, IFlightDAO flightDAO, ITicketDAO ticketDAO, IAdministratorDAO administratorDAO) { _airlineDAO = airlineDAO; _countryDAO = countryDAO; _customerDAO = customerDAO; _flightDAO = flightDAO; _ticketDAO = ticketDAO; _administratorDAO = administratorDAO; }
protected FacadeBase(bool test) { _airlineDAO = new AirlineCompany(); _countryDAO = new Country(); _customerDAO = customerDAO; _adminDAO = adminDAO; _user = user; _flightDAO = flightDAO; _ticketDAO = ticketDAO; }
public FacadeBase(bool testMode) { GlobalConfig.GetConfiguration(testMode); _airlineDAO = new AirlineDAOPGSQL(); _countryDAO = new CountryDAOPGSQL(); _customerDAO = new CustomerDAOPGSQL(); _adminDAO = new AdminDAOPGSQL(); _userDAO = new UserDAOPGSQL(); _flightDAO = new FlightDAOPGSQL(); _ticketDAO = new TicketDAOPGSQL(); }
public FacadeBase() { _adminDAO = new AdministratorDAOMSSQL(); _airlineDAO = new AirlineDAOMSSQL(); _customerDAO = new CustomerDAOMSSQL(); _userDAO = new UserDAOMSSQL(); _flightDAO = new FlightDAOMSSQL(); _ticketDAO = new TicketDAOMSSQL(); _countryDAO = new CountryDAOMSSQL(); _backgroundDAO = new MaintenanceDAOMSSQL(); }
protected FacadeBase() { _airlineDAO = new AirlineDAOPGSQL(); _countryDAO = new CountryDAOPGSQL(); _customerDAO = new CustomerDAOPGSQL(); _adminDAO = new AdminDAOPGSQL(); _userDAO = new UserDAOPGSQL(); _flightDAO = new FlightDAOPGSQL(); _ticketDAO = new TicketDAOPGSQL(); _flightsTicketsHistoryDAO = new FlightsTicketsHistoryDAOPGSQL(); }
public FacadeBase() { _airlineDAO = new AirlineDAO(); _countryDAO = new CountryDAO(); _customerDAO = new CustomerDAO(); _flightDAO = new FlightDAO(); _ticketDAO = new TicketDAO(); _userRoleDAO = new UserRoleDAO(); _userRepositoryDAO = new UserRepositoryDAO(); _adminDAO = new AdminDAO(); }
public FacadeBase(bool testMode = false) { _ticketDAO = new TicketDAOMSSQL(testMode); _customerDAO = new CustomerDAOMSSQL(testMode); _flightDAO = new FlightDAOMSSQL(testMode); _countryDAO = new CountryDAOMSSQL(testMode); log.Debug($"creating airlineDAO from type AirlineDAOMSSQL, testMode = {testMode}"); _airlineDAO = new AirlineDAOMSSQL(testMode); log.Debug("AirlineDAOMSSQL created successfully"); }
public FacadeBase() { __airLineDAO = new AirLineDAOMSSQL(); _airLineDAO = __airLineDAO; __countryDAO = new CountryDAOMSSQL(); _countryDAO = __countryDAO; __customerDAO = new CustomerDAOMSSQL(); _customerDAO = __customerDAO; __flightDAO = new FlightDAOMSSQL(); _flightDAO = __flightDAO; __ticketDAO = new TicketDAOMSSQL(); _ticketDAO = __ticketDAO; __flightStatusDAO = new FlightStatusDAOMSSQL(); _flightStatusDAO = __flightStatusDAO; }
private void InitializeDAOs() { _ticketDAO = new TicketDAOEF(); _flightDAO = new FlightDAOEF(); }
public TicketService(ITicketDAO teamsDAO) { _ticketDAO = teamsDAO; }