//添加用户关注好友20 OK public bool AddUserAttentioner(String AttentionId, String AttentionedId) { bool IsSucceed = false; //数据访存器 DatabaseAccess.DataClasses1DataContext DBAccessor = new DataClasses1DataContext(); try { DBAccessor.insertAttention(AttentionId, AttentionedId); IsSucceed = true; } catch (Exception e) { IsSucceed = false; } return IsSucceed; }