Beispiel #1
0
 public override void Persist(Context context)
 {
     if (null != this.Prefix && Prefix.AffixID == 0)
     {
         Prefix.Save(context);
     }
     if (null != this.Suffix && Suffix.AffixID == 0)
     {
         Suffix.Save(context);
     }
     if (null != this.FirstName)
     {
         FirstName.Persist(context);
     }
     if (null != this.LastName)
     {
         LastName.Persist(context);
     }
     if (null != this.MiddleName)
     {
         MiddleName.Persist(context);
     }
     context.Persist(this);
 }