// Decompiled with JetBrains decompiler // Type: AyABL.Usuario.openBL // Assembly: AyABL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 0F2FF6EC-B53C-44DB-9E00-2F932BF80762 // Assembly location: C:\Users\EQUIPO\Downloads\Raiz\Raiz\bin\AyABL.dll using AyADAL; using AyAEL.Tran; using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Data; namespace AyABL.Usuario { public class openBL : AyABL { private static NameValueCollection appSettings = ConfigurationManager.AppSettings; public openBL() { this.objOpenEL = new openEL(); this.NombreTabla = Modulos.t_dis_.ToString() + Tablas.open.ToString(); this.NombreConeccionBD = BASESDEDATOS.SIGDD.ToString(); } public openEL objOpenEL { get; set; } public int insertarRegistroOpen() { try { this.CamposTabla = t_dis_open.NIS_RAD.ToString() + ", " + t_dis_open.MEDIDOR.ToString() + ", " + t_dis_open.ACC_FINCA.ToString() + ", " + t_dis_open.NOMBRE_CLIENTE.ToString() + ", " + t_dis_open.TARIFA.ToString() + ", " + t_dis_open.AYA_DIAMETRO_AGUA.ToString() + ", " + t_dis_open.AYA_DIAMETRO_ALCA.ToString() + ", [" + t_dis_open.LOCALIZACION.ToString() + "(SC.NIS_RAD)], " + t_dis_open.MON_DEUDA.ToString() + ", " + t_dis_open.MON_DEUDA_REC_VENC.ToString() + ", " + Auditoria.ASTATE.ToString() + Tablas.open.ToString(); this.ValoresCampos = new object[11] { (object) this.objOpenEL.NIS_RAD, (object) this.objOpenEL.MEDIDOR, (object) this.objOpenEL.ACC_FINCA, (object) this.objOpenEL.NOMBRE_CLIENTE, (object) this.objOpenEL.TARIFA, (object) this.objOpenEL.AYA_DIAMETRO_AGUA, (object) this.objOpenEL.AYA_DIAMETRO_ALCA, (object) this.objOpenEL.LOCALIZACION, (object) this.objOpenEL.MON_DEUDA, (object) this.objOpenEL.MON_DEUDA_REC_VENC, (object) true }; return this.baseDAL.Insertar(this.NombreTabla, this.CamposTabla, this.ValoresCampos, this.NombreConeccionBD); } catch (Exception ex) { throw ex; } } public int modificarClienteSolicitud() { try { ArrayList p_arlCondiciones = new ArrayList(); p_arlCondiciones.Add((object) this.buscarPorPK(this.objOpenEL.PK, Tablas.open, operadorLogico.NONE)); this.CamposTabla = t_dis_open.NIS_RAD.ToString() + ", " + t_dis_open.MEDIDOR.ToString() + ", " + t_dis_open.ACC_FINCA.ToString() + ", " + t_dis_open.NOMBRE_CLIENTE.ToString() + ", " + t_dis_open.TARIFA.ToString() + ", " + t_dis_open.AYA_DIAMETRO_AGUA.ToString() + ", " + t_dis_open.AYA_DIAMETRO_ALCA.ToString() + ", [" + t_dis_open.LOCALIZACION.ToString() + "(SC.NIS_RAD)], " + t_dis_open.MON_DEUDA.ToString() + ", " + t_dis_open.MON_DEUDA_REC_VENC.ToString() + ", " + Auditoria.ASTATE.ToString() + Tablas.open.ToString(); this.ValoresCampos = new object[10] { (object) this.objOpenEL.NIS_RAD, (object) this.objOpenEL.MEDIDOR, (object) this.objOpenEL.ACC_FINCA, (object) this.objOpenEL.NOMBRE_CLIENTE, (object) this.objOpenEL.TARIFA, (object) this.objOpenEL.AYA_DIAMETRO_AGUA, (object) this.objOpenEL.AYA_DIAMETRO_ALCA, (object) this.objOpenEL.LOCALIZACION, (object) this.objOpenEL.MON_DEUDA, (object) this.objOpenEL.MON_DEUDA_REC_VENC }; return this.baseDAL.Actualizar(this.NombreTabla, this.CamposTabla, this.ValoresCampos, this.NombreConeccionBD, p_arlCondiciones); } catch (Exception ex) { throw ex; } } public DataSet dsConsultaOpenSolicitud() { try { return this.baseDAL.EjecutarConsulta(this.NombreTabla, this.CamposTabla, this.NombreConeccionBD, new ArrayList() { (object) this.buscarPorPK(this.objOpenEL.PK, Tablas.open, operadorLogico.NONE) }, (string) null, (string) null); } catch (Exception ex) { throw ex; } } } }