コード例 #1
0
ファイル: LOG_Estado.cs プロジェクト: juahidma/petnet-web
 public void DEL_Estado(int codigo_dueno, int codigo_mascota)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Estado objEstado = new AD_Estado();
         objEstado.DEL_Estado(this.comando, codigo_dueno, codigo_mascota);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
コード例 #2
0
ファイル: LOG_Estado.cs プロジェクト: juahidma/petnet-web
 public void CRE_Estado(MOD_Estado obj)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Estado objEstado = new AD_Estado();
         objEstado.CRE_Estado(this.comando, obj);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
コード例 #3
0
ファイル: LOG_Estado.cs プロジェクト: juahidma/petnet-web
 public List<MOD_Estado> SEL_Grid_Estado(int Centro_Atencion, string buscar)
 {
     try
     {
         this.AbrirConexion();
         AD_Estado objEstado = new AD_Estado();
         List<MOD_Estado> lista = objEstado.SEL_Grid_Estado(this.comando, Centro_Atencion, buscar);
         this.CerrarConexion();
         return lista;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }
コード例 #4
0
ファイル: LOG_Estado.cs プロジェクト: juahidma/petnet-web
 public MOD_Estado SEL_Grid_By_Id_Estado(int codigo_dueno)
 {
     try
     {
         this.AbrirConexion();
         AD_Estado objEstado = new AD_Estado();
         MOD_Estado objEstadoResponsable = objEstado.SEL_Grid_By_Id_Estado(this.comando, codigo_dueno);
         this.CerrarConexion();
         return objEstadoResponsable;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }