public GetVehicleRentSimulationHandler(IResponse response, IEFContext context, IMapper mapper, ICategoryContext categoryContext)
 {
     this.response        = response;
     this.context         = context;
     this.mapper          = mapper;
     this.categoryContext = categoryContext;
 }
Exemplo n.º 2
0
 public TransportController(IEFContext <Transport> transport, IEFContext <TransportOwner> owners,
                            ImagesDbContext imagesDb)
 {
     _dbTransport       = transport;
     _dbTransportOwners = owners;
     _imagesDb          = imagesDb;
 }
 public FilterConditionsProducts(IEFContext <Location> location,
                                 IEFContext <LocationVoucher> dbLocationVoucher, IVoucher dbVoucher)
 {
     _dbLocation        = location;
     _dbLocationVoucher = dbLocationVoucher;
     _dbVoucher         = dbVoucher;
 }
Exemplo n.º 4
0
 public GetAllScheduleHandler(IResponse response, IEFContext context, IMapper mapper, ICategoryContext categoryContext)
 {
     this.response        = response;
     this.context         = context;
     this.mapper          = mapper;
     this.categoryContext = categoryContext;
 }
 public GetChecklistPriceHandler(IResponse response, IEFContext context, IMapper mapper, ICategoryContext categoryContext)
 {
     this.response        = response;
     this.context         = context;
     this.mapper          = mapper;
     this.categoryContext = categoryContext;
 }
Exemplo n.º 6
0
 public AdminController(IProductRepository repo, IStockRepository stockRepo, ImagesDbContext context,
                        IEFContext <Transport> dbTransport,
                        IVoucher dbVoucher,
                        IEFContext <Location> dbLocation,
                        IEFContext <Categories> dbCategories)
 {
     _repository      = repo;
     _stockRepository = stockRepo;
     _imagesDb        = context;
     _dbTransport     = dbTransport;
     _dbVoucher       = dbVoucher;
     _dbLocation      = dbLocation;
     _dbCategories    = dbCategories;
 }
Exemplo n.º 7
0
        public EFUnitOfWork(IEFContext dbContext)
        {
            Database.SetInitializer <EFContext>(null);

            if (dbContext == null)
            {
                throw new ArgumentNullException("dbContext can not be null.");
            }
            _dbContext = (EFContext)dbContext;

            // Buradan istediğiniz gibi EntityFramework'ü konfigure edebilirsiniz.
            //_dbContext.Configuration.LazyLoadingEnabled = false;
            //_dbContext.Configuration.ValidateOnSaveEnabled = false;
            //_dbContext.Configuration.ProxyCreationEnabled = false;
        }
Exemplo n.º 8
0
 public ProductController(IProductRepository repository,
                          IStockRepository stockRepository,
                          ImagesDbContext context,
                          IFilterConditionsProducts filterConditions,
                          IEFContext <Transport> dbTransport,
                          IVoucher dbVoucher,
                          IEFContext <Location> dbLocation,
                          IEFContext <Categories> dbCategories)
 {
     _repository       = repository;
     _stockRepository  = stockRepository;
     _imagesDb         = context;
     _filterConditions = filterConditions;
     _dbTransport      = dbTransport;
     _dbVoucher        = dbVoucher;
     _dbLocation       = dbLocation;
     _dbCategories     = dbCategories;
 }
 public HomeRepository(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 10
0
 public CryptoService(IEFContext dbContext)
 {
     _dbContext = dbContext;
 }
 public AuctionRepository(IEFContext db)
 {
     _db = db;
 }
Exemplo n.º 12
0
 public CountryRepository(IEFContext _db)
 {
     db = _db;
 }
 public UserPositionRepository(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 14
0
 public AssetQuery(IEFContext ctx)
 {
     _ctx = ctx;
 }
Exemplo n.º 15
0
 public ProductRepository(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 16
0
 public RecipeCategoryRepository(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 17
0
 public CityRepository(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 18
0
 public ReservationsQuery(IEFContext ctx)
 {
     _ctx      = ctx;
     IsCompact = false;
 }
Exemplo n.º 19
0
 public TypeOfHousingRepository(IEFContext _db)
 {
     db = _db;
 }
Exemplo n.º 20
0
 public CountryRepository(IEFContext context)
 {
     _context = context;
 }
 public ProductRepository(IEFContext db)
 {
     _db = db;
 }
 public CustomerRepository(IEFContext db)
 {
     _db = db;
 }
Exemplo n.º 23
0
 public NavigationMenuViewComponent(IEFContext <Categories> dbCategories,
                                    IEFContext <Location> dbLocation)
 {
     _dbCategories = dbCategories;
     _dbLocation   = dbLocation;
 }
Exemplo n.º 24
0
 public EFUnitOfWorkManager(IEFContext context)
 {
     Database.SetInitializer<EFContext>(null);
     _context = context as EFContext;
 }
Exemplo n.º 25
0
 public CreateAssetCommand(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 26
0
 public MenuRepository(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 27
0
 public StatusRepository()
 {
     _context = new EFContext();
 }
 public GetAllVehicleHandler(IResponse response, IEFContext context, IMapper mapper)
 {
     this.response = response;
     this.context  = context;
     this.mapper   = mapper;
 }
Exemplo n.º 29
0
 public StatusRepository(IEFContext context)
 {
     _context = context;
 }
Exemplo n.º 30
0
 public RegisterOperatorHandler(IResponse response, IEFContext context, IMapper mapper)
 {
     this.response = response;
     this.context  = context;
     this.mapper   = mapper;
 }
Exemplo n.º 31
0
 public CustomerRepository(IEFContext db)
 {
     _db = db;
 }
Exemplo n.º 32
0
 public PurposesQuery(IEFContext ctx)
 {
     _ctx = ctx;
 }
 public AddressRepository(IEFContext db)
 {
     _db = db;
 }
Exemplo n.º 34
0
 public AvailableToGuestRepository(IEFContext _db)
 {
     db = _db;
 }
Exemplo n.º 35
0
 public ProductRepository(IEFContext db)
 {
     _db = db;
 }