Пример #1
0
 public XElement Elimina_C_CATALOGO_VALOR(int?ID_CATALOGO_VALOR = 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));
         context.SPE_ELIMINA_C_CATALOGO_VALOR(pout_clave_retorno, ID_CATALOGO_VALOR, usuario, programa);
         //regresamos el valor de retorno de sql
         // return Convert.ToString(pout_clave_retorno.Value);
         return(XElement.Parse(pout_clave_retorno.Value.ToString()));
     }
 }