/// <summary> /// Deprecated Method for adding a new object to the Studies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStudies(Study study) { base.AddObject("Studies", study); }
/// <summary> /// Create a new Study object. /// </summary> /// <param name="studyID">Initial value of the studyID property.</param> /// <param name="patientID">Initial value of the patientID property.</param> public static Study CreateStudy(global::System.Int32 studyID, global::System.Int32 patientID) { Study study = new Study(); study.studyID = studyID; study.patientID = patientID; return study; }