Example #1
0
        public static DataSet Siguiente(string cod_linea)
        {
            DLinea Obj = new DLinea()
            {
                Dcod_linea = cod_linea
            };

            return(Obj.Siguiente(Obj));
        }
Example #2
0
        public static DataSet Anterior(string cod_linea)
        {
            DLinea Obj = new DLinea()
            {
                Dcod_linea = cod_linea
            };

            return(Obj.Anterior(Obj));
        }
Example #3
0
        public static string Eliminar(string cod_linea)
        {
            DLinea Obj = new DLinea
            {
                Dcod_linea = cod_linea,
            };

            return(Obj.Eliminar(Obj));
        }
Example #4
0
        public static string GenerarCod(string cod_linea)
        {
            DLinea Obj = new DLinea
            {
                Dcod_linea = cod_linea
            };

            return(Obj.GenerarCod(Obj));
        }
Example #5
0
        public static DataTable Buscar(string buscar, string btipo)
        {
            DLinea Obj = new DLinea()
            {
                Dbuscar = buscar,
                Dbtipo  = btipo,
            };

            return(Obj.Buscar(Obj));
        }
Example #6
0
        public static DataTable RepBuscar(string buscard, string buscarh, string btipo)
        {
            DLinea Obj = new DLinea()
            {
                Dbuscard = buscard,
                Dbuscarh = buscarh,
                Dbtipo   = btipo,
            };

            return(Obj.Buscar(Obj));
        }
Example #7
0
        public static string Insertar(string cod_linea, string desc_linea, string campo1, string campo2, string campo3, string campo4, string campo5, string campo6)
        {
            DLinea Obj = new DLinea
            {
                Dcod_linea  = cod_linea,
                Ddesc_linea = desc_linea,
                Dcampo1     = campo1,
                Dcampo2     = campo2,
                Dcampo3     = campo3,
                Dcampo4     = campo4,
                Dcampo5     = campo5,
                Dcampo6     = campo6,
            };

            return(Obj.Insertar(Obj));
        }