public EFPersistenceContext(TransportLogisticsDbContext context)
        {
            this.dbContext = context;

            VehicleRepository       = new EFVehicleRepository(context);
            CustomerRepository      = new EFCustomerRepository(context);
            TrailerRepository       = new EFTrailerRepository(context);
            EmployeeRepository      = new EFEmployeeRepository(context);
            DriverRepository        = new EFDriverRepository(context);
            OrderRepository         = new EFOrderRepository(context);
            RouteRepository         = new EFRouteRepository(context);
            DispatcherRepository    = new EFDispatcherRepository(context);
            SupervisorRepository    = new EFSupervisorRepository(context);
            RequestRepository       = new EFRequestRepository(context);
            VehicleChangeRepository = new EFVehicleChangeRequestRepository(context);
            RecipientRepository     = new EFRecipientRepository(context);
            PersonalInfoRepository  = new EFPersonalInfoRepository(context);
        }
Exemplo n.º 2
0
 public EFSupervisorRepository(TransportLogisticsDbContext context) : base(context)
 {
 }
Exemplo n.º 3
0
 public EFCustomerRepository(TransportLogisticsDbContext dbContext) : base(dbContext)
 {
 }
 public EFDispatcherRepository(TransportLogisticsDbContext context) : base(context)
 {
 }
 public EFVehicleRepository(TransportLogisticsDbContext dbContext) : base(dbContext)
 {
 }
Exemplo n.º 6
0
 public EFOrderRepository(TransportLogisticsDbContext context) : base(context)
 {
 }
 public EFVehicleChangeRequestRepository(TransportLogisticsDbContext context) : base(context)
 {
 }
 public EFRequestRepository(TransportLogisticsDbContext dbContext) : base(dbContext)
 {
 }
Exemplo n.º 9
0
 public EFPersonalInfoRepository(TransportLogisticsDbContext context) : base(context)
 {
 }
Exemplo n.º 10
0
 public EFBaseRepository(TransportLogisticsDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public EFEmployeeRepository(TransportLogisticsDbContext dbContext)
 {
     DbContext = dbContext;
 }