Beispiel #1
0
        public XElement Elimina_C_AREA_INTERES(int?ID_AREA_INTERES = null, string CL_AREA_INTERES = null, string usuario = null, string programa = null)
        {
            using (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_ELIMINA_C_AREA_INTERES(pout_clave_retorno, ID_AREA_INTERES, CL_AREA_INTERES, usuario, programa);

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