Beispiel #1
0
        /// <summary>
        /// 批量删除操作
        /// </summary>
        public static void DoBatchDelete(string OrgID, string[] Ids)
        {
            SysOrgUser[] tents = SysOrgUser.FindAll(Expression.In("UserID", Ids), Expression.Eq("OrgID", OrgID));

            foreach (SysOrgUser tent in tents)
            {
                tent.DoDelete();
            }
        }
Beispiel #2
0
        /// <summary>
        /// 批量删除操作
        /// </summary>
        public static void DoBatchDelete(params object[] args)
        {
            SysOrgUser[] tents = SysOrgUser.FindAll(Expression.In("ID", args));

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