Exemplo n.º 1
0
        public static DataTable Buscar(string textoBuscar)
        {
            DTipoCliente Obj = new DTipoCliente();

            Obj.TextoBuscar = textoBuscar;
            return(Obj.Buscar(Obj));
        }
Exemplo n.º 2
0
        public static string Eliminar(int idTipoCliente)
        {
            DTipoCliente Obj = new DTipoCliente();

            Obj.IdTipoCliente = idTipoCliente;
            return(Obj.Eliminar(Obj));
        }
Exemplo n.º 3
0
        public static string Insertar(string nombre, string descripcion)
        {
            DTipoCliente Obj = new DTipoCliente();

            Obj.Nombre      = nombre;
            Obj.Descripcion = descripcion;
            return(Obj.Insertar(Obj));
        }
Exemplo n.º 4
0
        public static DataSet Siguiente(string cod_tipocliente)
        {
            DTipoCliente Obj = new DTipoCliente()
            {
                Dcod_tipocliente = cod_tipocliente
            };

            return(Obj.Siguiente(Obj));
        }
Exemplo n.º 5
0
        public static DataSet Anterior(string cod_tipocliente)
        {
            DTipoCliente Obj = new DTipoCliente()
            {
                Dcod_tipocliente = cod_tipocliente
            };

            return(Obj.Anterior(Obj));
        }
Exemplo n.º 6
0
        public static string Eliminar(string cod_tipocliente)
        {
            DTipoCliente Obj = new DTipoCliente
            {
                Dcod_tipocliente = cod_tipocliente,
            };

            return(Obj.Eliminar(Obj));
        }
Exemplo n.º 7
0
        public static string GenerarCod(string cod_tipocliente)
        {
            DTipoCliente Obj = new DTipoCliente
            {
                Dcod_tipocliente = cod_tipocliente
            };

            return(Obj.GenerarCod(Obj));
        }
Exemplo n.º 8
0
        public static string Editar(int idTipoCliente, string nombre, string descripcion)
        {
            DTipoCliente Obj = new DTipoCliente();

            Obj.IdTipoCliente = idTipoCliente;
            Obj.Nombre        = nombre;
            Obj.Descripcion   = descripcion;
            return(Obj.Editar(Obj));
        }
Exemplo n.º 9
0
        public static DataTable Buscar(string buscar, string btipo)
        {
            DTipoCliente Obj = new DTipoCliente()
            {
                Dbuscar = buscar,
                Dbtipo  = btipo,
            };

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

            return(Obj.Buscar(Obj));
        }
Exemplo n.º 11
0
        public static string Insertar(string cod_tipocliente, string desc_tipocliente, string cod_precio, string campo1, string campo2, string campo3, string campo4, string campo5, string campo6)
        {
            DTipoCliente Obj = new DTipoCliente
            {
                Dcod_tipocliente  = cod_tipocliente,
                Ddesc_tipocliente = desc_tipocliente,
                Dcod_precio       = cod_precio,
                Dcampo1           = campo1,
                Dcampo2           = campo2,
                Dcampo3           = campo3,
                Dcampo4           = campo4,
                Dcampo5           = campo5,
                Dcampo6           = campo6,
            };

            return(Obj.Insertar(Obj));
        }