示例#1
0
        //private ICacheService _csg;

        public FSDictionaryRepository(FoxStoreDBContext dbContext,
                                      ICacheService <Product_DTO> csp,
                                      ICacheService <Currency_DTO> csc,
                                      ICacheService <Manufacturer_DTO> mnf,
                                      ICacheService <Quotation_Product_DTO> qtp,
                                      ICacheService <Supplier_DTO> supl /*,
                                                                         * ICacheService<Product_Group> csg*/)
        {
            _context = dbContext;
            _csp     = csp;
            _cur     = csc;
            _mnf     = mnf;
            _qtp     = qtp;
            _supl    = supl;

            /*
             * _csg = csg;
             */
        }
示例#2
0
 public FSOrdersRepository(FoxStoreDBContext context)
 {
     _context = context;
 }