예제 #1
0
 public DriverStatusManager(IDriverStatusRepository Repository) : base(Repository)
 {
     this.driverStatusRepository = Repository;
 }
예제 #2
0
        public UnitOfWork(
            IRequestInfo requestInfo,

            IColorRepository colorRepository,
            IRideStatusRepository rideStatusRepository,

            ICountryRepository countryRepository,
            IStateRepository stateRepository,
            ICityRepository cityRepository,

            IVehicleMakerRepository vehicleMakerRepository,
            IVehicleModelRepository vehicleModelRepository,
            IVehicleBodyTypeRepository vehicleBodyTypeRepository,
            IVehicleFeatureRepository vehicleFeatureRepository,
            IVehicleTransmissionRepository vehicleTransmissionRepository,
            IVehicleAssemblyRepository vehicleAssemblyRepository,
            IVehicleVehicleFeatureRepository vehicleVehicleFeatureRepository,
            IVehicleRepository vehicleRepository,

            ITravelUnitRepository travelUnitRepository,
            IDistanceUnitRepository distanceUnitRepository,
            IDriverStatusRepository driverStatusRepository,

            ICreditCardRepository creditCardRepository,
            ICurrencyRepository currencyRepository,
            ICurrencyLogRepository currencyLogRepository,

            IAccountRepository accountRepository,
            IAccountLogRepository accountLogRepository,

            IFavouriteLocationRepository favouriteLocationRepository,
            ILocationLagLonRepository locationLagLonRepository,

            IFareRepository fareRepository,
            IPackageRepository packageRepository,
            IPackageTravelUnitRepository packageTravelUnitRepository,
            IPackageVehicleAssemblyRepository packageVehicleAssemblyRepository,
            IPackageVehicleBodyTypeRepository packageVehicleBodyTypeRepository,
            IPackageVehicleFeatureRepository packageVehicleFeatureRepository,
            IPackageVehicleModelRepository packageVehicleModelRepository,
            IPackageVehicleTransmissionRepository packageVehicleTransmissionRepository,

            ISupervisorRepository supervisorRepository,
            IDriverRepository driverRepository,

            IDriverLocationRepository driverLocationRepository,
            IDriverLocationLogRepository driverLocationLogRepository,

            IDistanceRepository distanceRepository,
            ITimeTrackerRepository timeTrackerRepository,
            ICustomerRepository customerRepository,
            IRideRepository rideRepository
            )
        {
            this._requestInfo = requestInfo;

            this._colorRepository      = colorRepository;
            this._rideStatusRepository = rideStatusRepository;

            this._countryRepository = countryRepository;
            this._stateRepository   = stateRepository;
            this._cityRepository    = cityRepository;

            this._vehicleMakerRepository          = vehicleMakerRepository;
            this._vehicleModelRepository          = vehicleModelRepository;
            this._vehicleBodyTypeRepository       = vehicleBodyTypeRepository;
            this._vehicleFeatureRepository        = vehicleFeatureRepository;
            this._vehicleTransmissionRepository   = vehicleTransmissionRepository;
            this._vehicleAssemblyRepository       = vehicleAssemblyRepository;
            this._vehicleVehicleFeatureRepository = vehicleVehicleFeatureRepository;
            this._vehicleRepository = vehicleRepository;

            this._travelUnitRepository   = travelUnitRepository;
            this._distanceUnitRepository = distanceUnitRepository;
            this._driverStatusRepository = driverStatusRepository;

            this._creditCardRepository  = creditCardRepository;
            this._currencyRepository    = currencyRepository;
            this._currencyLogRepository = currencyLogRepository;

            this._accountRepository    = accountRepository;
            this._accountLogRepository = accountLogRepository;

            this._favouriteLocationRepository = favouriteLocationRepository;
            this._locationLagLonRepository    = locationLagLonRepository;

            this._fareRepository                       = fareRepository;
            this._packageRepository                    = packageRepository;
            this._packageTravelUnitRepository          = packageTravelUnitRepository;
            this._packageVehicleAssemblyRepository     = packageVehicleAssemblyRepository;
            this._packageVehicleBodyTypeRepository     = packageVehicleBodyTypeRepository;
            this._packageVehicleFeatureRepository      = packageVehicleFeatureRepository;
            this._packageVehicleModelRepository        = packageVehicleModelRepository;
            this._packageVehicleTransmissionRepository = packageVehicleTransmissionRepository;

            this._supervisorRepository = supervisorRepository;
            this._driverRepository     = driverRepository;

            this._driverLocationRepository    = driverLocationRepository;
            this._driverLocationLogRepository = driverLocationLogRepository;

            this._distanceRepository    = distanceRepository;
            this._timeTrackerRepository = timeTrackerRepository;
            this._customerRepository    = customerRepository;
            this._rideRepository        = rideRepository;
        }
예제 #3
0
 public DriverStatusManager() : base(new DriverStatusRepository())
 {
     this.driverStatusRepository = (DriverStatusRepository)base.BaseRepository;
 }