/// <summary> /// Deprecated Method for adding a new object to the studentbookloans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTostudentbookloans(studentbookloan studentbookloan) { base.AddObject("studentbookloans", studentbookloan); }
/// <summary> /// Create a new studentbookloan object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="issueDate">Initial value of the IssueDate property.</param> /// <param name="dueDate">Initial value of the DueDate property.</param> /// <param name="returnDate">Initial value of the ReturnDate property.</param> /// <param name="issuerID">Initial value of the IssuerID property.</param> /// <param name="studentID">Initial value of the StudentID property.</param> /// <param name="bookId">Initial value of the BookId property.</param> public static studentbookloan Createstudentbookloan(global::System.Int32 id, global::System.DateTime issueDate, global::System.DateTime dueDate, global::System.DateTime returnDate, global::System.Int32 issuerID, global::System.Int32 studentID, global::System.Int32 bookId) { studentbookloan studentbookloan = new studentbookloan(); studentbookloan.id = id; studentbookloan.IssueDate = issueDate; studentbookloan.DueDate = dueDate; studentbookloan.ReturnDate = returnDate; studentbookloan.IssuerID = issuerID; studentbookloan.StudentID = studentID; studentbookloan.BookId = bookId; return studentbookloan; }