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