/// <summary>
 /// Deprecated Method for adding a new object to the MedicalRecordFields EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMedicalRecordFields(MedicalRecordField medicalRecordField)
 {
     base.AddObject("MedicalRecordFields", medicalRecordField);
 }
 /// <summary>
 /// Create a new MedicalRecordField object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="doctorId">Initial value of the DoctorId property.</param>
 /// <param name="practiceId">Initial value of the PracticeId property.</param>
 public static MedicalRecordField CreateMedicalRecordField(global::System.Int32 id, global::System.String name, global::System.Int32 type, global::System.Int32 doctorId, global::System.Int32 practiceId)
 {
     MedicalRecordField medicalRecordField = new MedicalRecordField();
     medicalRecordField.Id = id;
     medicalRecordField.Name = name;
     medicalRecordField.Type = type;
     medicalRecordField.DoctorId = doctorId;
     medicalRecordField.PracticeId = practiceId;
     return medicalRecordField;
 }