/// <summary>
 /// Create a new TempDeptStockStatistic object.
 /// </summary>
 /// <param name="productId">Initial value of ProductId.</param>
 /// <param name="tempPriKey">Initial value of TempPriKey.</param>
 public static TempDeptStockStatistic CreateTempDeptStockStatistic(string productId, long tempPriKey)
 {
     TempDeptStockStatistic tempDeptStockStatistic = new TempDeptStockStatistic();
     tempDeptStockStatistic.ProductId = productId;
     tempDeptStockStatistic.TempPriKey = tempPriKey;
     return tempDeptStockStatistic;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TempDeptStockStatistics EntitySet.
 /// </summary>
 public void AddToTempDeptStockStatistics(TempDeptStockStatistic tempDeptStockStatistic)
 {
     base.AddObject("TempDeptStockStatistics", tempDeptStockStatistic);
 }