/// <summary> /// Deprecated Method for adding a new object to the Requests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRequests(Request request) { base.AddObject("Requests", request); }
/// <summary> /// Create a new Request object. /// </summary> /// <param name="requestID">Initial value of the RequestID property.</param> /// <param name="bookID">Initial value of the BookID property.</param> /// <param name="memberID">Initial value of the MemberID property.</param> /// <param name="requestDate">Initial value of the RequestDate property.</param> /// <param name="checkoutID">Initial value of the CheckoutID property.</param> public static Request CreateRequest(global::System.Int32 requestID, global::System.Int32 bookID, global::System.Int32 memberID, global::System.DateTime requestDate, global::System.Int32 checkoutID) { Request request = new Request(); request.RequestID = requestID; request.BookID = bookID; request.MemberID = memberID; request.RequestDate = requestDate; request.CheckoutID = checkoutID; return request; }