/// <summary> /// Entferne alle ClientLog-Einträge für diese Nutzer-Maschine-Kombination /// </summary> /// <param name="machine"></param> /// <param name="account"></param> public void RemoveClientLogEntries(ISingleDbObject machine, ISingleDbObject account) { IColDbObject colClientLog = Conn.CreateCol("ClientLog"); if (machine != null) { colClientLog.Prototype.PutValue("UID_Hardware", machine.GetValue("UID_Hardware")); } if (account != null) { colClientLog.Prototype.PutValue(ClientLogKeyColumn, GetAccountUID(account)); } colClientLog.Load(); foreach (IColElem elem in colClientLog) { ISingleDbObject clientLog = elem.Create(); clientLog.Delete(); clientLog.Save(); } }