/// <summary> /// Create a new VideoBook object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="bookID">Initial value of the BookID property.</param> public static VideoBook CreateVideoBook(global::System.Int32 id, global::System.Int32 bookID) { VideoBook videoBook = new VideoBook(); videoBook.ID = id; videoBook.BookID = bookID; return videoBook; }
/// <summary> /// Deprecated Method for adding a new object to the VideoBooks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVideoBooks(VideoBook videoBook) { base.AddObject("VideoBooks", videoBook); }