Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public XElement Elimina_C_AREA(int?ID_AREA = null, string CL_AREA = 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(pout_clave_retorno, ID_AREA, CL_AREA, usuario, programa); //regresamos el valor de retorno de sql return(XElement.Parse(pout_clave_retorno.Value.ToString())); } }