Пример #1
0
        public XElement ActualizaEstatusRequisicion(int?ID_REQUISICION = null, string usuario = null, string programa = null)
        {
            using (SistemaSigeinEntities context = new SistemaSigeinEntities())
            {
                //Declaramos el objeto de valor de retorno
                ObjectParameter pout_clave_retorno = new ObjectParameter("XML_RESULTADO", typeof(XElement));
                pout_clave_retorno.Value = "";


                context.SPE_ACTUALIZA_ESTATUS_REQUISICION(pout_clave_retorno, ID_REQUISICION, usuario, programa);
                //regresamos el valor de retorno de sql

                return(XElement.Parse(pout_clave_retorno.Value.ToString()));
            }
        }