/// <summary> /// Create a new History object. /// </summary> /// <param name="historyID">Initial value of the HistoryID property.</param> /// <param name="c_Date">Initial value of the c_Date property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="orderChanges">Initial value of the OrderChanges property.</param> /// <param name="comment">Initial value of the Comment property.</param> /// <param name="orderID">Initial value of the OrderID property.</param> public static History CreateHistory(global::System.Int64 historyID, global::System.DateTime c_Date, global::System.String userName, global::System.String orderChanges, global::System.String comment, global::System.Int64 orderID) { History history = new History(); history.HistoryID = historyID; history.c_Date = c_Date; history.UserName = userName; history.OrderChanges = orderChanges; history.Comment = comment; history.OrderID = orderID; return history; }
/// <summary> /// Deprecated Method for adding a new object to the Histories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHistories(History history) { base.AddObject("Histories", history); }