/// <summary> /// 批量删除操作 /// </summary> public static void DoBatchDelete(params object[] args) { SysGroupUser[] tents = SysGroupUser.FindAll(Expression.In("ID", args)); foreach (SysGroupUser tent in tents) { tent.DoDelete(); } }
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(); } }