/// <summary> /// Deprecated Method for adding a new object to the doctor_patient EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTodoctor_patient(doctor_patient doctor_patient) { base.AddObject("doctor_patient", doctor_patient); }
/// <summary> /// Create a new doctor_patient 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="patient_id">Initial value of the patient_id property.</param> /// <param name="released">Initial value of the released property.</param> /// <param name="recent">Initial value of the recent property.</param> public static doctor_patient Createdoctor_patient(global::System.Int32 id, global::System.Int32 doctor_id, global::System.Int32 patient_id, global::System.Boolean released, global::System.Boolean recent) { doctor_patient doctor_patient = new doctor_patient(); doctor_patient.id = id; doctor_patient.doctor_id = doctor_id; doctor_patient.patient_id = patient_id; doctor_patient.released = released; doctor_patient.recent = recent; return doctor_patient; }