public void Anonymize() { this.PersonalNumber = null; this.FirstName = null; this.LastName = null; AssociatedAddresses?.ForEach(p => p?.Anonymize()); this.CurrentAddressId = null; EmailAddresses?.ForEach(p => p?.Anonymize()); this.PreferredEmailAddressId = null; PhoneNumbers?.ForEach(p => p?.Anonymize()); this.PreferredMobilePhoneNumberId = null; this.PreferredHomePhoneNumberId = null; this.IsAnonymized = true; }