コード例 #1
0
ファイル: LOG_Mascota.cs プロジェクト: juahidma/petnet-web
 public void DEL_Mascota(int codigo)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Mascota objMascota = new AD_Mascota();
         objMascota.DEL_Mascota(this.comando, codigo);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
コード例 #2
0
ファイル: LOG_Mascota.cs プロジェクト: juahidma/petnet-web
 public void CRE_Mascota(MOD_Mascota obj)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Mascota objMascota = new AD_Mascota();
         objMascota.CRE_Mascota(this.comando, obj);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
コード例 #3
0
ファイル: LOG_Mascota.cs プロジェクト: juahidma/petnet-web
 public List<MOD_Mascota> SEL_Grid_Mascota(string buscar)
 {
     try
     {
         this.AbrirConexion();
         AD_Mascota objMascota = new AD_Mascota();
         List<MOD_Mascota> lista = objMascota.SEL_Grid_Mascota(this.comando,buscar);
         this.CerrarConexion();
         return lista;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }
コード例 #4
0
ファイル: LOG_Mascota.cs プロジェクト: juahidma/petnet-web
 public MOD_Mascota SEL_Grid_By_Id_Mascota(int codigo)
 {
     try
     {
         this.AbrirConexion();
         AD_Mascota objMascota = new AD_Mascota();
         MOD_Mascota objMascotaResponsable = objMascota.SEL_Grid_By_Id_Mascota(this.comando, codigo);
         this.CerrarConexion();
         return objMascotaResponsable;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }