Esempio n. 1
0
 public void DEL_Dueno(int codigo)
 {
     try
         {
             this.IniciarTransaccion();
             AD_Dueno objDueno = new AD_Dueno();
             objDueno.DEL_Dueno(this.comando, codigo);
             this.ConfirmarTransaccion();
         }
         catch (Exception exc)
         {
             this.DeshacerTransaccion();
             throw exc;
         }
 }
Esempio n. 2
0
 public void CRE_Dueno(MOD_Dueno obj)
 {
     try
         {
             this.IniciarTransaccion();
             AD_Dueno objDueno = new AD_Dueno();
             objDueno.CRE_Dueno(this.comando, obj);
             this.ConfirmarTransaccion();
         }
         catch (Exception exc)
         {
             this.DeshacerTransaccion();
             throw exc;
         }
 }
Esempio n. 3
0
 public List<MOD_Dueno> SEL_Grid_Dueno(string buscar)
 {
     try
         {
             this.AbrirConexion();
             AD_Dueno objDueno = new AD_Dueno();
             List<MOD_Dueno> lista = objDueno.SEL_Grid_Dueno(this.comando, buscar);
             this.CerrarConexion();
             return lista;
         }
         catch (Exception exc)
         {
             this.CerrarConexion();
             throw exc;
         }
 }
Esempio n. 4
0
 public MOD_Dueno SEL_Grid_By_Id_Dueno(int codigo)
 {
     try
         {
             this.AbrirConexion();
             AD_Dueno objDueno = new AD_Dueno();
             MOD_Dueno objDuenoResponsable = objDueno.SEL_Grid_By_Id_Dueno(this.comando, codigo);
             this.CerrarConexion();
             return objDuenoResponsable;
         }
         catch (Exception exc)
         {
             this.CerrarConexion();
             throw exc;
         }
 }