示例#1
0
        /// <summary>
        /// 添加奖品发放记录
        /// </summary>
        /// <param name="entity">奖品发放记录信息</param>
        /// <returns></returns>
        public static int InsertGiftsGrantRecord(GiftsGrantRecord entity)
        {
            DataCommand cmd = DataCommandManager.GetDataCommand("InsertGiftsGrantRecord");

            cmd.SetParameterValue <GiftsGrantRecord>(entity);
            cmd.ExecuteNonQuery();
            return(Convert.ToInt32(cmd.GetParameterValue("@SysNo")));
        }
示例#2
0
 /// <summary>
 /// 添加奖品发放记录
 /// </summary>
 /// <param name="entity">奖品发放记录信息</param>
 /// <returns></returns>
 public int InsertGiftsGrantRecord(GiftsGrantRecord entity)
 {
     return(GiftsMgtDA.InsertGiftsGrantRecord(entity));
 }