Пример #1
0
        internal void CopyTo(EmployeeCollection employees)
        {
            employees.Clear();

            foreach (Employee emp in this)
            {
                employees.Add(emp);
            }
        }
Пример #2
0
        public void UndoDelete(EmployeeCollection originalList)
        {
            foreach (Employee emp in this)
            {
                originalList.Add(emp);
            }

            this.Clear();
        }
Пример #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();
        }