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

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

            this.Clear();
        }
Exemplo 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();
        }