예제 #1
0
파일: DataAccess.cs 프로젝트: RH-Code/GAPP
 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;
 }
예제 #2
0
파일: DataAccess.cs 프로젝트: RH-Code/GAPP
 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;
 }
예제 #3
0
파일: DataAccess.cs 프로젝트: RH-Code/GAPP
 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;
 }
예제 #4
0
파일: DataAccess.cs 프로젝트: RH-Code/GAPP
 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;
 }
예제 #5
0
파일: DataAccess.cs 프로젝트: RH-Code/GAPP
 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;
 }