protected override void CreateApplicationEntryInDB(DBAppDrvInfo info, DateTime lastModified) { var adsAccountAppsInfo = Conn.CreateSingle("ADSAccountAppsInfo"); adsAccountAppsInfo.PutValue("CurrentlyActive", true); adsAccountAppsInfo.PutValue("InstallDate", lastModified); adsAccountAppsInfo.PutValue("DeInstallDate", null); adsAccountAppsInfo.PutValue("UID_InstallationType", info.UidInstallationType); adsAccountAppsInfo.PutValue("UID_OS", info.UidOperatingSystem); adsAccountAppsInfo.PutValue("Revision", Convert.ToInt32(info.AssociatedAppsDrvProfileInfo.Revision)); adsAccountAppsInfo.PutValue("UID_ADSAccount", info.UidAccount); adsAccountAppsInfo.PutValue("UID_Application", info.UidAppDrv); // removed #8136 // adsAccountAppsInfo.PutValue("DisplayName", info.AppDrvNameFull); adsAccountAppsInfo.Save(); }
/// <summary> /// Erzeuge einen ClientLog-Eintrag. /// </summary> /// <param name="machine"></param> /// <param name="account"></param> /// <param name="lastModified"></param> /// <param name="appInfo"></param> public void CreateClientLogEntry(ISingleDbObject machine, ISingleDbObject account, DateTime lastModified, ApplicationInfo appInfo) { ISingleDbObject clientLog = Conn.CreateSingle("ClientLog"); if (account != null) { clientLog.PutValue(ClientLogKeyColumn, GetAccountUID(account)); } if (machine != null) { clientLog.PutValue("UID_Hardware", machine.GetValue("UID_Hardware")); } clientLog.PutValue("InstallDate", lastModified); clientLog.PutValue("LogContent", appInfo.InstallLog); clientLog.Save(); }