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