/// <summary> /// Create a new StkInDet object. /// </summary> /// <param name="stockInId">Initial value of StockInId.</param> /// <param name="productId">Initial value of ProductId.</param> public static StkInDet CreateStkInDet(string stockInId, string productId) { StkInDet stkInDet = new StkInDet(); stkInDet.StockInId = stockInId; stkInDet.ProductId = productId; return stkInDet; }
/// <summary> /// Deprecated Method for adding a new object to the StkInDets EntitySet. /// </summary> public void AddToStkInDets(StkInDet stkInDet) { base.AddObject("StkInDets", stkInDet); }