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