Example #1
0
 /// <summary>
 /// 初始化所有的属性,包括引用类型的属性自己的属性
 /// </summary>
 public override void ReInitializeAllProperties()
 {
     if (CurrentDepartment != null)
     {
         CurrentDepartment = new Department();
         CurrentDepartment.ReInitializeAllProperties();
     }
     if (CurrentWard != null)
     {
         CurrentWard.ReInitializeAllProperties();
     }
     if (Diagnosis != null)
     {
         Diagnosis.ReInitializeAllProperties();
     }
 }
Example #2
0
 /// <summary>
 /// 初始化所有的属性,包括引用类型的属性自己的属性
 /// </summary>
 public override void ReInitializeAllProperties()
 {
     ReInitializeProperties();
     if (Sex != null)
     {
         Sex.ReInitializeAllProperties();
     }
     if (MaritalState != null)
     {
         MaritalState.ReInitializeAllProperties();
     }
     if (CurrentDept != null)
     {
         CurrentDept.ReInitializeAllProperties();
     }
     if (CurrentWard != null)
     {
         CurrentWard.ReInitializeAllProperties();
     }
     if (TechnicalTitle != null)
     {
         TechnicalTitle.ReInitializeAllProperties();
     }
 }