Пример #1
0
        public void Alterinhabilitado(BebestibleBLL objaux)
        {
            BebestibleDAL aiu = new BebestibleDAL();

            aiu.id_bebestible = this.id_bebestible;
            aiu.Altereliminar(aiu);
        }
Пример #2
0
        public void Alterinestado_espera(BebestibleBLL objaux)
        {
            BebestibleDAL alt = new BebestibleDAL();

            alt.numero_pedido = this.numero_pedido;
            alt.Altereestado_espera(alt);
        }
Пример #3
0
        public bool AddBebestible(BebestibleBLL objaux)
        {
            BebestibleDAL bd = new BebestibleDAL();

            bd.nombre_beb = this.nombre_beb;
            bd.marca      = this.marca;
            bd.precio     = this.precio;
            bd.stock      = this.stock;
            bd.stock_bar  = this.stock_bar;
            bd.imagen     = this.imagen;
            bd.habilitado = this.habilitado;
            bd.con_prep   = this.con_prep;
            return(bd.AgregarBebestible(bd));
        }
Пример #4
0
        public void AlterinBebestible(BebestibleBLL objaux)
        {
            BebestibleDAL aiu = new BebestibleDAL();

            aiu.nombre_beb    = this.nombre_beb;
            aiu.marca         = this.marca;
            aiu.precio        = this.precio;
            aiu.stock         = this.stock;
            aiu.stock_bar     = this.stock_bar;
            aiu.habilitado    = this.habilitado;
            aiu.con_prep      = this.con_prep;
            aiu.id_bebestible = this.id_bebestible;
            aiu.AlterBebestible(aiu);
        }