public int Elimina_C_EMPLEADO_RELACIONADO(SPE_OBTIENE_C_EMPLEADO_RELACIONADO_Result V_C_EMPLEADO_RELACIONADO, string usuario = null, string programa = null)
 {
     using (context = new SistemaSigeinEntities())
     {
         //Declaramos el objeto de valor de retorno
         ObjectParameter pout_clave_retorno = new ObjectParameter("POUT_CLAVE_RETORNO", typeof(int));
         context.SPE_ELIMINA_C_EMPLEADO_RELACIONADO(pout_clave_retorno, V_C_EMPLEADO_RELACIONADO.ID_EMPLEADO_RELACIONADO, V_C_EMPLEADO_RELACIONADO.ID_EMPLEADO_RELACIONADO, V_C_EMPLEADO_RELACIONADO.CL_TIPO_RELACION, usuario, programa);
         //regresamos el valor de retorno de sql
         return(Convert.ToInt32(pout_clave_retorno.Value));
     }
 }
 public int InsertaActualiza_C_EMPLEADO_RELACIONADO(string tipo_transaccion, SPE_OBTIENE_C_EMPLEADO_RELACIONADO_Result V_C_EMPLEADO_RELACIONADO, string usuario, string programa)
 {
     using (context = new SistemaSigeinEntities())
     {
         //Declaramos el objeto de valor de retorno
         ObjectParameter pout_clave_retorno = new ObjectParameter("POUT_CLAVE_RETORNO", typeof(int));
         context.SPE_INSERTA_ACTUALIZA_C_EMPLEADO_RELACIONADO(pout_clave_retorno, V_C_EMPLEADO_RELACIONADO.ID_EMPLEADO, V_C_EMPLEADO_RELACIONADO.ID_EMPLEADO_RELACIONADO, V_C_EMPLEADO_RELACIONADO.CL_TIPO_RELACION, V_C_EMPLEADO_RELACIONADO.DS_EMPLEADO_RELACIONADO, usuario, usuario, programa, programa, tipo_transaccion);
         //regresamos el valor de retorno de sql
         return(Convert.ToInt32(pout_clave_retorno.Value));;
     }
 }