/// <summary> /// Create a new Borrowed object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="bookId">Initial value of the bookId property.</param> public static Borrowed CreateBorrowed(global::System.Int32 id, global::System.Int32 bookId) { Borrowed borrowed = new Borrowed(); borrowed.id = id; borrowed.bookId = bookId; return(borrowed); }
/// <summary> /// Deprecated Method for adding a new object to the Borrowed EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBorrowed(Borrowed borrowed) { base.AddObject("Borrowed", borrowed); }