Exemple #1
0
 public static bool UpdateGeocacheImageData(Framework.Data.GeocacheImage l, Framework.Data.GeocacheImage newData)
 {
     bool result = false;
     if (l.ID == newData.ID)
     {
         l.UpdateFrom(newData);
         result = true;
     }
     return result;
 }
Exemple #2
0
 public static bool UpdateLogData(Framework.Data.Log l, Framework.Data.Log newData)
 {
     bool result = false;
     if (l.ID == newData.ID)
     {
         l.UpdateFrom(newData);
         result = true;
     }
     return result;
 }
Exemple #3
0
 public static bool UpdateWaypointData(Framework.Data.Waypoint wp, Framework.Data.Waypoint newData)
 {
     bool result = false;
     if (wp.Code == newData.Code)
     {
         wp.UpdateFrom(newData);
         result = true;
     }
     return result;
 }
Exemple #4
0
 public static bool UpdateUserWaypointData(Framework.Data.UserWaypoint wp, Framework.Data.UserWaypoint newData)
 {
     bool result = false;
     if (wp.ID == newData.ID)
     {
         wp.UpdateFrom(newData);
         result = true;
     }
     return result;
 }
Exemple #5
0
 public static bool UpdateGeocacheData(Framework.Data.Geocache gc, Framework.Data.Geocache newData, Version gpxDataVersion)
 {
     bool result = false;
     if (gc.Code == newData.Code)
     {
         gc.UpdateFrom(newData, gpxDataVersion);
         result = true;
     }
     return result;
 }