/// <summary>
 /// Deprecated Method for adding a new object to the StkOutDets EntitySet.
 /// </summary>
 public void AddToStkOutDets(StkOutDet stkOutDet)
 {
     base.AddObject("StkOutDets", stkOutDet);
 }
 /// <summary>
 /// Create a new StkOutDet object.
 /// </summary>
 /// <param name="stockOutDetailId">Initial value of StockOutDetailId.</param>
 /// <param name="productId">Initial value of ProductId.</param>
 /// <param name="stockOutId">Initial value of StockOutId.</param>
 public static StkOutDet CreateStkOutDet(long stockOutDetailId, string productId, long stockOutId)
 {
     StkOutDet stkOutDet = new StkOutDet();
     stkOutDet.StockOutDetailId = stockOutDetailId;
     stkOutDet.ProductId = productId;
     stkOutDet.StockOutId = stockOutId;
     return stkOutDet;
 }