public void Copy(PersonallyIdentifiableInformation personallyIdentifiableInformation) { if (personallyIdentifiableInformation != null) { this.Id = personallyIdentifiableInformation.Id; this.Type = personallyIdentifiableInformation.Type; this.FirstName = personallyIdentifiableInformation.FirstName; this.LastName = personallyIdentifiableInformation.LastName; this.DateOfBirth = personallyIdentifiableInformation.DateOfBirth; this.Gender = personallyIdentifiableInformation.Gender; } }
public PersonallyIdentifiableInformation(PersonallyIdentifiableInformation personallyIdentifiableInformation) { Initialize(); Copy(personallyIdentifiableInformation); }