/// <summary> /// Create a new Abbreviation object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="text">Initial value of the Text property.</param> public static Abbreviation CreateAbbreviation(global::System.Int32 id, global::System.String text) { Abbreviation abbreviation = new Abbreviation(); abbreviation.Id = id; abbreviation.Text = text; return abbreviation; }
/// <summary> /// Deprecated Method for adding a new object to the Abbreviations1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAbbreviations1(Abbreviation abbreviation) { base.AddObject("Abbreviations1", abbreviation); }