/// <summary> /// Create a new Content object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="homePage">Initial value of the HomePage property.</param> public static Content CreateContent(global::System.Int32 id, global::System.Boolean homePage) { Content content = new Content(); content.Id = id; content.HomePage = homePage; return content; }
/// <summary> /// Deprecated Method for adding a new object to the Content EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContent(Content content) { base.AddObject("Content", content); }