/// <summary> /// Adapter method for ObjectDataSource /// </summary> /// <returns>a GeoContinentCollection</returns> public static GeoContinentCollection GetAll() { GeoContinentCollection list = new GeoContinentCollection(); list.FetchAll(); return(list); }
/// <summary> /// Return a deep copy of this collection /// </summary> /// <returns>a GeoContinentCollection</returns> public GeoContinentCollection Clone() { GeoContinentCollection clone = new GeoContinentCollection(); foreach (GeoContinent continent in this) { clone.Add(continent.Clone()); } clone.IsModified = this.IsModified; return(clone); }