/// <summary>
 /// Deprecated Method for adding a new object to the Treatments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTreatments(Treatment treatment)
 {
     base.AddObject("Treatments", treatment);
 }
 /// <summary>
 /// Create a new Treatment object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="treatmentDate">Initial value of the treatmentDate property.</param>
 /// <param name="description">Initial value of the description property.</param>
 /// <param name="patient">Initial value of the patient property.</param>
 /// <param name="roomAssigned">Initial value of the roomAssigned property.</param>
 public static Treatment CreateTreatment(global::System.Int32 id, global::System.DateTime treatmentDate, global::System.String description, global::System.Int32 patient, global::System.Int32 roomAssigned)
 {
     Treatment treatment = new Treatment();
     treatment.id = id;
     treatment.treatmentDate = treatmentDate;
     treatment.description = description;
     treatment.patient = patient;
     treatment.roomAssigned = roomAssigned;
     return treatment;
 }