コード例 #1
0
        //----------------
        //Upd_PerInterface
        //----------------
        public bool Upd_PerInterface(string cPerCodigo, long nPerIntCodigo, long nPerIntClase, string cPerIntJerarquia, string cPerIntDescripcion, long nPerIntTipo)
        {
            bool exito = false;
            //para CtaCteIteLine
            BE_ReqPerInterface Request = new BE_ReqPerInterface();
            DA_PerInterface Da = new DA_PerInterface();

            try
            {
                Request.cPerCodigo = cPerCodigo;
                Request.nPerIntCodigo = nPerIntCodigo;
                Request.nPerIntClase = nPerIntClase;
                Request.cPerIntJerarquia = cPerIntJerarquia;
                Request.cPerIntDescripcion = cPerIntDescripcion;
                Request.nPerIntTipo = nPerIntTipo;

                if (!Da.Upd_PerInterface(Request))
                {
                    throw new ApplicationException("Se encontraron errores en la transaccion: Upd_PerInterface.!");
                }
                else exito = true;
            }
            catch (Exception)
            {
                throw;
            }
            return exito;
        }
コード例 #2
0
 //----------------
 //Get_PerInterface
 //----------------
 public DataTable Get_PerInterface()
 {
     DA_PerInterface DA = new DA_PerInterface();
     return DA.Get_PerInterface();
 }