예제 #1
0
        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);
        }
예제 #2
0
 /// <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);
 }