public void DEL_Detalle_Factura(int linea, int codigo_medico, int codigo_centro_atencion)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Detalle_Factura objDetalle_Factura = new AD_Detalle_Factura();
         objDetalle_Factura.DEL_Detalle_Factura(this.comando, linea, codigo_medico, codigo_centro_atencion);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
 public void CRE_Detalle_Factura(MOD_Detalle_Factura obj)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Detalle_Factura objDetalle_Factura = new AD_Detalle_Factura();
         objDetalle_Factura.CRE_Detalle_Factura(this.comando, obj);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
 public List<MOD_Detalle_Factura> SEL_Grid_Detalle_Factura()
 {
     try
     {
         this.AbrirConexion();
         AD_Detalle_Factura objDetalle_Factura = new AD_Detalle_Factura();
         List<MOD_Detalle_Factura> lista = objDetalle_Factura.SEL_Grid_Detalle_Factura(this.comando);
         this.CerrarConexion();
         return lista;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }
 public MOD_Detalle_Factura SEL_Grid_By_Id_Detalle_Factura(int linea, int codigo_medico, int codigo_centro_atencion)
 {
     try
     {
         this.AbrirConexion();
         AD_Detalle_Factura objDetalle_Factura = new AD_Detalle_Factura();
         MOD_Detalle_Factura objDetalle_FacturaResponsable = objDetalle_Factura.SEL_Grid_By_Id_Detalle_Factura(this.comando, linea, codigo_medico, codigo_centro_atencion);
         this.CerrarConexion();
         return objDetalle_FacturaResponsable;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }