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