Ejemplo n.º 1
0
        public static DataSet Siguiente(string cod_precio)
        {
            DPrecio Obj = new DPrecio()
            {
                Dcod_precio = cod_precio
            };

            return(Obj.Siguiente(Obj));
        }
Ejemplo n.º 2
0
        public static DataSet Anterior(string cod_precio)
        {
            DPrecio Obj = new DPrecio()
            {
                Dcod_precio = cod_precio
            };

            return(Obj.Anterior(Obj));
        }
Ejemplo n.º 3
0
        public static string Eliminar(string cod_precio)
        {
            DPrecio Obj = new DPrecio
            {
                Dcod_precio = cod_precio,
            };

            return(Obj.Eliminar(Obj));
        }
Ejemplo n.º 4
0
        public static string GenerarCod(string cod_precio)
        {
            DPrecio Obj = new DPrecio
            {
                Dcod_precio = cod_precio
            };

            return(Obj.GenerarCod(Obj));
        }
Ejemplo n.º 5
0
        public static DataTable Buscar(string buscar, string btipo)
        {
            DPrecio Obj = new DPrecio()
            {
                Dbuscar = buscar,
                Dbtipo  = btipo,
            };

            return(Obj.Buscar(Obj));
        }
Ejemplo n.º 6
0
        public static DataTable RepBuscar(string buscard, string buscarh, string btipo)
        {
            DPrecio Obj = new DPrecio()
            {
                Dbuscard = buscard,
                Dbuscarh = buscarh,
                Dbtipo   = btipo,
            };

            return(Obj.Buscar(Obj));
        }
Ejemplo n.º 7
0
        public static string Insertar(string cod_precio, string desc_precio, string campo1, string campo2, string campo3, string campo4, string campo5, string campo6)
        {
            DPrecio Obj = new DPrecio
            {
                Dcod_precio  = cod_precio,
                Ddesc_precio = desc_precio,
                Dcampo1      = campo1,
                Dcampo2      = campo2,
                Dcampo3      = campo3,
                Dcampo4      = campo4,
                Dcampo5      = campo5,
                Dcampo6      = campo6,
            };

            return(Obj.Insertar(Obj));
        }