Exemplo n.º 1
0
        public AppointmentTypeArray(IList <AppointmentType> mdos)
        {
            if (mdos == null || mdos.Count == 0)
            {
                this.count = 0;
                return;
            }

            this.count       = mdos.Count;
            appointmentTypes = new AppointmentTypeTO[mdos.Count];

            for (int i = 0; i < mdos.Count; i++)
            {
                appointmentTypes[i] = new AppointmentTypeTO(mdos[i]);
            }
        }
Exemplo n.º 2
0
        public AppointmentTypeArray(IList<AppointmentType> mdos)
        {
            if (mdos == null || mdos.Count == 0)
            {
                this.count = 0;
                return;
            }

            this.count = mdos.Count;
            appointmentTypes = new AppointmentTypeTO[mdos.Count];

            for (int i = 0; i < mdos.Count; i++)
            {
                appointmentTypes[i] = new AppointmentTypeTO(mdos[i]);
            }
        }