public static DataTable Buscar(string textoBuscar) { DTipoCliente Obj = new DTipoCliente(); Obj.TextoBuscar = textoBuscar; return(Obj.Buscar(Obj)); }
public static string Eliminar(int idTipoCliente) { DTipoCliente Obj = new DTipoCliente(); Obj.IdTipoCliente = idTipoCliente; return(Obj.Eliminar(Obj)); }
public static string Insertar(string nombre, string descripcion) { DTipoCliente Obj = new DTipoCliente(); Obj.Nombre = nombre; Obj.Descripcion = descripcion; return(Obj.Insertar(Obj)); }
public static DataSet Siguiente(string cod_tipocliente) { DTipoCliente Obj = new DTipoCliente() { Dcod_tipocliente = cod_tipocliente }; return(Obj.Siguiente(Obj)); }
public static DataSet Anterior(string cod_tipocliente) { DTipoCliente Obj = new DTipoCliente() { Dcod_tipocliente = cod_tipocliente }; return(Obj.Anterior(Obj)); }
public static string Eliminar(string cod_tipocliente) { DTipoCliente Obj = new DTipoCliente { Dcod_tipocliente = cod_tipocliente, }; return(Obj.Eliminar(Obj)); }
public static string GenerarCod(string cod_tipocliente) { DTipoCliente Obj = new DTipoCliente { Dcod_tipocliente = cod_tipocliente }; return(Obj.GenerarCod(Obj)); }
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)); }
public static DataTable Buscar(string buscar, string btipo) { DTipoCliente Obj = new DTipoCliente() { Dbuscar = buscar, Dbtipo = btipo, }; return(Obj.Buscar(Obj)); }
public static DataTable RepBuscar(string buscard, string buscarh, string btipo) { DTipoCliente Obj = new DTipoCliente() { Dbuscard = buscard, Dbuscarh = buscarh, Dbtipo = btipo, }; return(Obj.Buscar(Obj)); }
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)); }