/// <summary> /// Deprecated Method for adding a new object to the doctor_specialty EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTodoctor_specialty(doctor_specialty doctor_specialty) { base.AddObject("doctor_specialty", doctor_specialty); }
/// <summary> /// Create a new doctor_specialty object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="doctor_id">Initial value of the doctor_id property.</param> /// <param name="specialty_name">Initial value of the specialty_name property.</param> public static doctor_specialty Createdoctor_specialty(global::System.Int32 id, global::System.Int32 doctor_id, global::System.String specialty_name) { doctor_specialty doctor_specialty = new doctor_specialty(); doctor_specialty.id = id; doctor_specialty.doctor_id = doctor_id; doctor_specialty.specialty_name = specialty_name; return doctor_specialty; }