Пример #1
0
 /// <summary>
 /// Speichert die änderungen an einer Objectposition in der Datenbank
 /// </summary>
 /// <param name="obj">Objectposition</param>
 public static void update(PlanningPosObject obj)
 {
     DatabaseManager manager;
     manager = new DatabaseManager();
     try
     {
         manager.update(obj);
     }
     finally
     {
         manager.release();
     }
 }
Пример #2
0
 /// <summary>
 /// Führt ein Datenbankupdate für das übergebene Object aus
 /// </summary>
 /// <param name="planningObject"></param>
 internal static void update(PlanningObject planningObject)
 {
     DatabaseManager manager;
     manager = new DatabaseManager();
     try
     {
         manager.update(planningObject);
     }
     finally
     {
         manager.release();
     }
 }