/// <summary> /// Create a new History object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> /// <param name="sender">Initial value of the Sender property.</param> public static History CreateHistory(global::System.Int32 id, global::System.String text, global::System.String timestamp, global::System.String sender) { History history = new History(); history.ID = id; history.Text = text; history.Timestamp = timestamp; history.Sender = sender; return history; }
/// <summary> /// Deprecated Method for adding a new object to the History EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHistory(History history) { base.AddObject("History", history); }