Пример #1
0
        public XElement ActualizarBajaEmpleados()
        {
            using (context = new SistemaSigeinEntities())
            {
                //Declaramos el objeto de valor de retorno
                ObjectParameter pout_clave_retorno = new ObjectParameter("XML_RESULTADO", typeof(XElement));

                context.SPE_ACTUALIZA_BAJA_DEFINITIVA_EMPLEADO(pout_clave_retorno, null);

                //regresamos el valor de retorno de sql
                return(XElement.Parse(pout_clave_retorno.Value.ToString()));
            }
        }