internal void CopyTo(EmployeeCollection employees) { employees.Clear(); foreach (Employee emp in this) { employees.Add(emp); } }
public void UndoDelete(EmployeeCollection originalList) { foreach (Employee emp in this) { originalList.Add(emp); } this.Clear(); }
public TourGroup() { this.id = -1; this.signUpType = new GeneralType(); this.members = new TourMemberCollection(); this.services = new TourServiceCollection(); this.employees = new Entities.EmployeeCollection(); this.status = new GeneralType(); this.DeletedEmployees = new Entities.EmployeeCollection(); }