Ejemplo n.º 1
0
 private void setProps(PatientAssociate[] mdo)
 {
     if (mdo == null)
     {
         return;
     }
     pas = new PatientAssociateTO[mdo.Length];
     for (int i = 0; i < mdo.Length; i++)
     {
         pas[i] = new PatientAssociateTO(mdo[i]);
     }
     count = mdo.Length;
 }
Ejemplo n.º 2
0
 private void setProps(PatientAssociate[] mdo)
 {
     if (mdo == null)
     {
         return;
     }
     pas = new PatientAssociateTO[mdo.Length];
     for (int i = 0; i < mdo.Length; i++)
     {
         pas[i] = new PatientAssociateTO(mdo[i]);
     }
     count = mdo.Length;
 }
Ejemplo n.º 3
0
 public PatientAssociateArray(SortedList lst)
 {
     if (lst == null || lst.Count == 0)
     {
         count = 0;
         return;
     }
     pas = new PatientAssociateTO[lst.Count];
     IDictionaryEnumerator e = lst.GetEnumerator();
     int i = 0;
     while (e.MoveNext())
     {
         pas[i++] = new PatientAssociateTO((PatientAssociate)e.Value);
     }
     count = lst.Count;
 }
Ejemplo n.º 4
0
        public PatientAssociateArray(SortedList lst)
        {
            if (lst == null || lst.Count == 0)
            {
                count = 0;
                return;
            }
            pas = new PatientAssociateTO[lst.Count];
            IDictionaryEnumerator e = lst.GetEnumerator();
            int i = 0;

            while (e.MoveNext())
            {
                pas[i++] = new PatientAssociateTO((PatientAssociate)e.Value);
            }
            count = lst.Count;
        }