/// <summary> /// Create a new Title object. /// </summary> /// <param name="titleId">Initial value of the TitleId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="netflixTitleId">Initial value of the NetflixTitleId property.</param> /// <param name="libraryId">Initial value of the LibraryId property.</param> public static Title CreateTitle(global::System.Int32 titleId, global::System.String name, global::System.String netflixTitleId, global::System.Int32 libraryId) { Title title = new Title(); title.TitleId = titleId; title.Name = name; title.NetflixTitleId = netflixTitleId; title.LibraryId = libraryId; return title; }
/// <summary> /// Deprecated Method for adding a new object to the Titles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTitles(Title title) { base.AddObject("Titles", title); }