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; }
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; }
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; }
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; }
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; }