/// <summary> /// Create a new HistoryType object. /// </summary> /// <param name="historyTypeID">Initial value of the HistoryTypeID property.</param> /// <param name="historyType1">Initial value of the HistoryType1 property.</param> public static HistoryType CreateHistoryType(global::System.Int32 historyTypeID, global::System.String historyType1) { HistoryType historyType = new HistoryType(); historyType.HistoryTypeID = historyTypeID; historyType.HistoryType1 = historyType1; return historyType; }
/// <summary> /// Deprecated Method for adding a new object to the HistoryTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHistoryTypes(HistoryType historyType) { base.AddObject("HistoryTypes", historyType); }