public RepositoryInfrastructure(IConnectionFactory connectionFactory) : base(connectionFactory) { _rowDao = DaoFactory.CreateRowDao(); _rowCategoryDao = DaoFactory.CreateRowCategoryDao(); _seatDao = DaoFactory.CreateSeatDao(); _cinemaHallDao = DaoFactory.CreateCinemaHallDao(); }
public RepositoryTicket(IConnectionFactory connectionFactory) : base(connectionFactory) { _reservationDao = DaoFactory.CreateReservationDao(); _seatReservationDao = DaoFactory.CreateSeatReservationDao(); _seatDao = DaoFactory.CreateSeatDao(); _ticketDao = DaoFactory.CreateTicketDao(); _scheduleDao = DaoFactory.CreateScheduleDao(); _userDao = DaoFactory.CreateUserDao(); _cinemaHallDao = DaoFactory.CreateCinemaHallDao(); }
public RepositorySchedule(IConnectionFactory connectionFactory) : base(connectionFactory) { _scheduleDao = DaoFactory.CreateScheduleDao(); _cinemaHallDao = DaoFactory.CreateCinemaHallDao(); _movieDao = DaoFactory.CreateMovieDao(); MinPriceWeekday = 7.0M; MaxPriceWeekday = 12.5M; MinPriceWeekend = 9.5M; MaxPriceWeekend = 15.5M; MinSchedulesPerDay = 6; MaxSchedulesPerDay = 10; }