Пример #1
0
        /// <summary>
        /// 新建
        /// </summary>
        public void Addgroupuser(Groupuser groupuser)
        {
            //int id = GetId("groupuser");
            //groupuser.GroupUserId = id;

            ExecuteInsert("InsertGroupuser", groupuser);
        }
Пример #2
0
        public Task <bool> AddToMemberGroup(int groupId, int userId)
        {
            var data = new Groupuser {
                GroupId = groupId, UserId = userId
            };

            try
            {
                return(Task.FromResult(false));
            }
            catch (Exception ex)
            {
                throw new SystemException(ex.Message);
            }
        }
Пример #3
0
 /// <summary>
 /// 修改
 /// </summary>
 public void Updategroupuser(Groupuser groupuser)
 {
     ExecuteUpdate("UpdateGroupuser", groupuser);
 }