/// <summary> /// Deprecated Method for adding a new object to the TempDeptstockMaxTemps EntitySet. /// </summary> public void AddToTempDeptstockMaxTemps(TempDeptstockMaxTemp tempDeptstockMaxTemp) { base.AddObject("TempDeptstockMaxTemps", tempDeptstockMaxTemp); }
/// <summary> /// Create a new TempDeptstockMaxTemp object. /// </summary> /// <param name="productId">Initial value of ProductId.</param> /// <param name="goodQty">Initial value of GoodQty.</param> /// <param name="perrorQty">Initial value of PerrorQty.</param> /// <param name="predmg">Initial value of Predmg.</param> public static TempDeptstockMaxTemp CreateTempDeptstockMaxTemp(string productId, int goodQty, int perrorQty, long predmg) { TempDeptstockMaxTemp tempDeptstockMaxTemp = new TempDeptstockMaxTemp(); tempDeptstockMaxTemp.ProductId = productId; tempDeptstockMaxTemp.GoodQty = goodQty; tempDeptstockMaxTemp.PerrorQty = perrorQty; tempDeptstockMaxTemp.Predmg = predmg; return tempDeptstockMaxTemp; }