/// <summary> /// Remove an existing Model.Roles.Patient from the collection /// </summary> /// <pdGenerated>Default Remove</pdGenerated> public void RemovePatient(Model.Roles.Patient oldPatient) { if (oldPatient == null) { return; } if (this.patient != null) { if (this.patient.Contains(oldPatient)) { this.patient.Remove(oldPatient); } } }
/// <summary> /// Add a new Model.Roles.Patient in the collection /// </summary> /// <pdGenerated>Default Add</pdGenerated> public void AddPatient(Model.Roles.Patient newPatient) { if (newPatient == null) { return; } if (this.patient == null) { this.patient = new System.Collections.Generic.List <Patient>(); } if (!this.patient.Contains(newPatient)) { this.patient.Add(newPatient); } }