public UnitOfWorkEnterprise(EmpresasContext context
                             , IEnterpriseRepository enterpriseRepository
                             , IEnterpriseTypeRepository enterpriseTypeRepository)
     : base(context)
 {
     Enterprises = enterpriseRepository;
     Types       = enterpriseTypeRepository;
 }
Ejemplo n.º 2
0
 public UnitOfWorkAuth(EmpresasContext context
                       , IControlTokenRepository controlTokenRepository
                       , IUserRepository userRepository)
     : base(context)
 {
     ControlToken = controlTokenRepository;
     Users        = userRepository;
 }
 public void GetEnterprisesTest()
 {
     using (var context = new EmpresasContext(options.UseInMemoryDatabase("GetEnterprises_all").Options))
     {
         context.Database.EnsureCreated();
         // IEnterpriseService enterpriseService = new EnterpriseService(context, mapper);
     }
 }
Ejemplo n.º 4
0
        //constructor
        public TrasladoController(ITrasladoService _trasladoService, ITrasladoMap _trasladoMap, IUserService _userService, ITrasladoInventarioService _trasladoInventarioService, ITrasladoInventarioMap _trasladoInventarioMap, IKardexMap kardexMap, EmpresasContext bd)
        {
            this.trasladoService = _trasladoService;
            this.trasladoMap = _trasladoMap;
            this.userService = _userService;
            this.trasladoInventarioService = _trasladoInventarioService;
            this.trasladoInventarioMap = _trasladoInventarioMap;
            this.kardexMap = kardexMap;
            context = bd;
      

        }
 public TipoClienteRepository(EmpresasContext context) : base(context)
 {
 }
 public DescuentoProductoRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 7
0
 public CajaAperturaDenominacionRepository(EmpresasContext context) : base(context)
 {
 }
 public CotizacionConfigRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 9
0
 public Repository(EmpresasContext context)
 {
     Context     = context;
     EntitiesSet = Context.Set <T>();
 }
 public ContactoRelacionRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 11
0
 public UnidadRepository(EmpresasContext context) : base(context)
 {
 }
 public ConversionRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 13
0
 public DepartamentoRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 14
0
 public ColaAprobacionRepository(EmpresasContext context)
     : base(context)
 {
 }
Ejemplo n.º 15
0
 public CamposPersonalizadosRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 16
0
 public EstadoTareaRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 17
0
 public FacturaRepository(EmpresasContext context) : base(context)
 {
 }
 public PromocionProductoRepositoy(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 19
0
 public RequisicionRepository(EmpresasContext context) : base(context)
 {
 }
 public DescuentoPromocionRepository(EmpresasContext context) : base(context)
 {
 }
 public ContactoCamposRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 22
0
 public BodegaRepository(EmpresasContext context)
     : base(context)
 {
 }
 public InventarioRepository(EmpresasContext context) : base(context)
 {
 }
 public PuntoVentaRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 25
0
 public FlujoCategoriaRepository(EmpresasContext context)
     : base(context)
 {
 }
Ejemplo n.º 26
0
 public KardexRepository(EmpresasContext context) : base(context)
 {
 }
 public FamiliaOnlineRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 28
0
 public DenominacionRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 29
0
 public DescuentoUsuarioRangoRepository(EmpresasContext context) : base(context)
 {
 }
Ejemplo n.º 30
0
 public TrasladoRepository(EmpresasContext context) : base(context)
 {
 }