/// <summary> /// Deprecated Method for adding a new object to the StaticTexts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStaticTexts(StaticText staticText) { base.AddObject("StaticTexts", staticText); }
/// <summary> /// Create a new StaticText object. /// </summary> /// <param name="header">Initial value of the Header property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="position">Initial value of the Position property.</param> public static StaticText CreateStaticText(global::System.String header, global::System.String text, global::System.String position) { StaticText staticText = new StaticText(); staticText.Header = header; staticText.Text = text; staticText.Position = position; return staticText; }