/// <summary>
 /// Create a new MnStkHis object.
 /// </summary>
 /// <param name="stockHistoryId">Initial value of StockHistoryId.</param>
 /// <param name="productId">Initial value of ProductId.</param>
 /// <param name="productMasterId">Initial value of ProductMasterId.</param>
 /// <param name="quantity">Initial value of Quantity.</param>
 /// <param name="stockId">Initial value of StockId.</param>
 public static MnStkHis CreateMnStkHis(long stockHistoryId, string productId, string productMasterId, long quantity, long stockId)
 {
     MnStkHis mnStkHis = new MnStkHis();
     mnStkHis.StockHistoryId = stockHistoryId;
     mnStkHis.ProductId = productId;
     mnStkHis.ProductMasterId = productMasterId;
     mnStkHis.Quantity = quantity;
     mnStkHis.StockId = stockId;
     return mnStkHis;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MnStkHis EntitySet.
 /// </summary>
 public void AddToMnStkHis(MnStkHis mnStkHis)
 {
     base.AddObject("MnStkHis", mnStkHis);
 }