/// <summary> /// Create a new Checkout object. /// </summary> /// <param name="checkoutID">Initial value of the CheckoutID property.</param> /// <param name="bookID">Initial value of the BookID property.</param> /// <param name="memberID">Initial value of the MemberID property.</param> /// <param name="checkoutDate">Initial value of the CheckoutDate property.</param> /// <param name="returned">Initial value of the Returned property.</param> public static Checkout CreateCheckout(global::System.Int32 checkoutID, global::System.Int32 bookID, global::System.Int32 memberID, global::System.DateTime checkoutDate, global::System.Boolean returned) { Checkout checkout = new Checkout(); checkout.CheckoutID = checkoutID; checkout.BookID = bookID; checkout.MemberID = memberID; checkout.CheckoutDate = checkoutDate; checkout.Returned = returned; return checkout; }
/// <summary> /// Deprecated Method for adding a new object to the Checkouts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCheckouts(Checkout checkout) { base.AddObject("Checkouts", checkout); }