예제 #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]);
            }
        }
예제 #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]);
            }
        }