Esempio n. 1
0
        internal void CopyTo(EmployeeCollection employees)
        {
            employees.Clear();

            foreach (Employee emp in this)
            {
                employees.Add(emp);
            }
        }
Esempio n. 2
0
        public void UndoDelete(EmployeeCollection originalList)
        {
            foreach (Employee emp in this)
            {
                originalList.Add(emp);
            }

            this.Clear();
        }
Esempio n. 3
0
        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();
        }