예제 #1
0
파일: DataAccess.cs 프로젝트: RH-Code/GAPP
        public static List<Framework.Data.Waypoint> GetWaypointsFromGeocache(Framework.Data.WaypointCollection wpCollection, string geocacheCode)
        {
            //grouping
            return wpCollection.GetWaypoints(geocacheCode);

            /*
            List<Framework.Data.Waypoint> result = null;

            result = (from Framework.Data.Waypoint wp in wpCollection
                      where wp.GeocacheCode == geocacheCode
                      select wp).ToList();

            return result;
             * */
        }