Esempio n. 1
0
 public void AddProfileLastBonus(string userId, string schemeId, string gameCode, string gameType, string issuseNumber, decimal bonusMoney, DateTime bonusTime)
 {
     try
     {
         DB.Begin();
         var entity = new E_Blog_NewProfileLastBonus()
         {
             UserId       = userId,
             GameCode     = gameCode,
             GameType     = gameType,
             SchemeId     = schemeId,
             IssuseNumber = issuseNumber,
             BonusMoney   = bonusMoney,
             BonusTime    = bonusTime,
         };
         var manager = new BlogManager();
         manager.AddBlog_NewProfileLastBonus(entity);
         DB.Commit();
     }
     catch (Exception ex)
     {
         DB.Rollback();
         throw ex;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 添加用户最新中奖
 /// </summary>
 public void AddBlog_NewProfileLastBonus(E_Blog_NewProfileLastBonus entity)
 {
     DB.GetDal <E_Blog_NewProfileLastBonus>().Add(entity);
 }