/// <summary> /// Create a new StaticText object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="phrase">Initial value of the Phrase property.</param> public static StaticText CreateStaticText(global::System.Int32 id, global::System.String phrase) { StaticText staticText = new StaticText(); staticText.Id = id; staticText.Phrase = phrase; return staticText; }
/// <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); }