public static void Cliente_compradorUdt(Cliente_comprador o) { try { Cliente_compradorMng oMng = new Cliente_compradorMng(); oMng.O_Cliente_comprador = o; oMng.udt(); } catch { throw; } }
public static Cliente_comprador Cliente_compradorGet(int Id) { Cliente_comprador o = new Cliente_comprador(); try { o.Id = Id; Cliente_compradorMng oMng = new Cliente_compradorMng(); oMng.O_Cliente_comprador = o; oMng.selById(); } catch { throw; } return(o); }
public static List <Cliente_comprador> Cliente_compradorfillEvenInactive(int IdClienteGrupo) { List <Cliente_comprador> lst = new List <Cliente_comprador>(); try { Cliente_compradorMng oMng = new Cliente_compradorMng(); Cliente_comprador o = new Cliente_comprador(); o.Id_cliente_grupo = IdClienteGrupo; oMng.O_Cliente_comprador = o; oMng.fillEvenInactive(); lst = oMng.Lst; } catch { throw; } return(lst); }
public static void Cliente_compradorChangeStatus(Cliente_comprador o, bool status) { try { Cliente_compradorMng oMng = new Cliente_compradorMng(); oMng.O_Cliente_comprador = o; if (status) { oMng.dlt(); } else { oMng.reactive(); } } catch { throw; } }