/// <summary> /// Create a new MnStk object. /// </summary> /// <param name="stockId">Initial value of StockId.</param> /// <param name="productId">Initial value of ProductId.</param> public static MnStk CreateMnStk(long stockId, string productId) { MnStk mnStk = new MnStk(); mnStk.StockId = stockId; mnStk.ProductId = productId; return mnStk; }
/// <summary> /// Deprecated Method for adding a new object to the MnStks EntitySet. /// </summary> public void AddToMnStks(MnStk mnStk) { base.AddObject("MnStks", mnStk); }