Пример #1
0
        /// <summary>
        /// 批量删除操作
        /// </summary>
        public static void DoBatchDelete(params object[] args)
        {
            SysGroupUser[] tents = SysGroupUser.FindAll(Expression.In("ID", args));

            foreach (SysGroupUser tent in tents)
            {
                tent.DoDelete();
            }
        }
Пример #2
0
        public static void DoBatchDelete(string OrgID, string[] Ids)
        {
            SysGroupUser[] tents = SysGroupUser.FindAll(Expression.In("SysUserID", Ids), Expression.Eq("SysGroupID", OrgID));

            foreach (SysGroupUser tent in tents)
            {
                tent.DoDelete();
            }
        }