public override bool Equals(object obj) { if (obj == null) { return(false); } PatientProfileEN t = obj as PatientProfileEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public PatientProfileEN(PatientProfileEN patientProfile) { this.init(Id, patientProfile.AccessMode, patientProfile.PreferredLanguage, patientProfile.Region, patientProfile.HazardAvoidance, patientProfile.Disability, patientProfile.Diseases, patientProfile.Name, patientProfile.Description); }