/// <summary> /// Deprecated Method for adding a new object to the FrontPageHeaders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFrontPageHeaders(FrontPageHeader frontPageHeader) { base.AddObject("FrontPageHeaders", frontPageHeader); }
/// <summary> /// Create a new FrontPageHeader object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="image">Initial value of the Image property.</param> /// <param name="alwaysShowInfo">Initial value of the AlwaysShowInfo property.</param> /// <param name="active">Initial value of the Active property.</param> public static FrontPageHeader CreateFrontPageHeader(global::System.Int32 id, global::System.String image, global::System.Boolean alwaysShowInfo, global::System.Boolean active) { FrontPageHeader frontPageHeader = new FrontPageHeader(); frontPageHeader.ID = id; frontPageHeader.Image = image; frontPageHeader.AlwaysShowInfo = alwaysShowInfo; frontPageHeader.Active = active; return frontPageHeader; }