/// <summary> /// 增加一条数据 /// </summary> public void AddAssignRole(int UserID, int RoleID) { if (!AssignRoleExists(UserID, RoleID)) { dataUser.AddAssignRole(UserID, RoleID); } }