/// <summary> /// Create a new Title object. /// </summary> /// <param name="titleId">Initial value of the TitleId property.</param> /// <param name="titleName">Initial value of the TitleName property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="publishedDate">Initial value of the PublishedDate property.</param> public static Title CreateTitle(global::System.String titleId, global::System.String titleName, global::System.String type, global::System.DateTime publishedDate) { Title title = new Title(); title.TitleId = titleId; title.TitleName = titleName; title.Type = type; title.PublishedDate = publishedDate; 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); }