/// <summary> /// Deprecated Method for adding a new object to the journals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTojournals(journal journal) { base.AddObject("journals", journal); }
/// <summary> /// Create a new journal object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="studentId">Initial value of the StudentId property.</param> /// <param name="lessonId">Initial value of the LessonId property.</param> public static journal Createjournal(global::System.Int64 id, global::System.Int64 studentId, global::System.Int64 lessonId) { journal journal = new journal(); journal.Id = id; journal.StudentId = studentId; journal.LessonId = lessonId; return journal; }