Ejemplo n.º 1
0
        /// <summary>
        /// Adapter method for ObjectDataSource
        /// </summary>
        /// <returns>a GeoContinentCollection</returns>
        public static GeoContinentCollection GetAll()
        {
            GeoContinentCollection list = new GeoContinentCollection();

            list.FetchAll();
            return(list);
        }
Ejemplo n.º 2
0
        /// <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);
        }