コード例 #1
0
 public UnitOfWorkEnterprise(EmpresasContext context
                             , IEnterpriseRepository enterpriseRepository
                             , IEnterpriseTypeRepository enterpriseTypeRepository)
     : base(context)
 {
     Enterprises = enterpriseRepository;
     Types       = enterpriseTypeRepository;
 }
コード例 #2
0
 public UnitOfWorkAuth(EmpresasContext context
                       , IControlTokenRepository controlTokenRepository
                       , IUserRepository userRepository)
     : base(context)
 {
     ControlToken = controlTokenRepository;
     Users        = userRepository;
 }
コード例 #3
0
 public void GetEnterprisesTest()
 {
     using (var context = new EmpresasContext(options.UseInMemoryDatabase("GetEnterprises_all").Options))
     {
         context.Database.EnsureCreated();
         // IEnterpriseService enterpriseService = new EnterpriseService(context, mapper);
     }
 }
コード例 #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;
      

        }
コード例 #5
0
 public TipoClienteRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #6
0
 public DescuentoProductoRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #7
0
 public CajaAperturaDenominacionRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #8
0
 public CotizacionConfigRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #9
0
 public Repository(EmpresasContext context)
 {
     Context     = context;
     EntitiesSet = Context.Set <T>();
 }
コード例 #10
0
 public ContactoRelacionRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #11
0
 public UnidadRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #12
0
 public ConversionRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #13
0
 public DepartamentoRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #14
0
 public ColaAprobacionRepository(EmpresasContext context)
     : base(context)
 {
 }
コード例 #15
0
 public CamposPersonalizadosRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #16
0
 public EstadoTareaRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #17
0
 public FacturaRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #18
0
 public PromocionProductoRepositoy(EmpresasContext context) : base(context)
 {
 }
コード例 #19
0
 public RequisicionRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #20
0
 public DescuentoPromocionRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #21
0
 public ContactoCamposRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #22
0
 public BodegaRepository(EmpresasContext context)
     : base(context)
 {
 }
コード例 #23
0
 public InventarioRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #24
0
 public PuntoVentaRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #25
0
 public FlujoCategoriaRepository(EmpresasContext context)
     : base(context)
 {
 }
コード例 #26
0
 public KardexRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #27
0
 public FamiliaOnlineRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #28
0
 public DenominacionRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #29
0
 public DescuentoUsuarioRangoRepository(EmpresasContext context) : base(context)
 {
 }
コード例 #30
0
 public TrasladoRepository(EmpresasContext context) : base(context)
 {
 }