public XElement ActualizaProgramaDesdeDNC(int ID_PROGRAMA, string XML_DATOS_DNC, string CL_USUARIO, string NB_PROGRAMA) { using (contexto = new SistemaSigeinEntities()) { ObjectParameter pout_clave_retorno = new ObjectParameter("XML_RESULTADO", typeof(XElement)); contexto.SPE_ACTUALIZA_PROGRAMA_DESDE_DNC(pout_clave_retorno, ID_PROGRAMA, XML_DATOS_DNC, CL_USUARIO, NB_PROGRAMA); return(XElement.Parse(pout_clave_retorno.Value.ToString())); } }