Example #1
0
 public void WriteXml(XmlWriter writer)
 {
     writer.WriteElementString("FirstName", FirstName.Encrypt());
     writer.WriteElementString("LastName", LastName.Encrypt());
     writer.WriteElementString("Phone", Phone.Encrypt());
     writer.WriteElementString("Email", Email.Encrypt());
     writer.WriteElementString("Gender", Gender.ToString().Encrypt());
     writer.WriteElementString("Notes", FirstName.Encrypt());
     writer.WriteElementString("IsDeleted", IsDeleted.ToString());
     writer.WriteElementString("CreatedDate", CreatedDate.ToUniversalTime().ToString());
     writer.WriteElementString("LasUpdatedDate", CreatedDate.ToUniversalTime().ToString());
 }