/// <summary> /// Deprecated Method for adding a new object to the HeatHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHeatHistories(HeatHistory heatHistory) { base.AddObject("HeatHistories", heatHistory); }
/// <summary> /// Create a new HeatHistory object. /// </summary> /// <param name="idHeatHistory">Initial value of the idHeatHistory property.</param> /// <param name="steelCode">Initial value of the SteelCode property.</param> /// <param name="heatNumber">Initial value of the HeatNumber property.</param> /// <param name="stencilColor">Initial value of the StencilColor property.</param> /// <param name="insDateTime">Initial value of the InsDateTime property.</param> public static HeatHistory CreateHeatHistory(global::System.Int32 idHeatHistory, global::System.String steelCode, global::System.Int32 heatNumber, global::System.String stencilColor, global::System.DateTimeOffset insDateTime) { HeatHistory heatHistory = new HeatHistory(); heatHistory.idHeatHistory = idHeatHistory; heatHistory.SteelCode = steelCode; heatHistory.HeatNumber = heatNumber; heatHistory.StencilColor = stencilColor; heatHistory.InsDateTime = insDateTime; return heatHistory; }