private void InitUserAttentionSummary(string userId) { var sportsManager = new Sports_Manager(); var UserAttentionSummary = new C_User_Attention_Summary { UserId = userId, UpdateTime = DateTime.Now, BeAttentionUserCount = 0, FollowerUserCount = 0, }; sportsManager.AddUserAttentionSummary(UserAttentionSummary); }
/// <summary> /// 用户关注汇总 /// </summary> /// <param name="c_User_Attention_Summary"></param> public void AddUserAttentionSummary(C_User_Attention_Summary UserAttentionSummary) { DB.GetDal <C_User_Attention_Summary>().Add(UserAttentionSummary); }