/// <summary> /// Create a new ItemStock object. /// </summary> /// <param name="itemStockId">Initial value of the ItemStockId property.</param> public static ItemStock CreateItemStock(global::System.Guid itemStockId) { ItemStock itemStock = new ItemStock(); itemStock.ItemStockId = itemStockId; return(itemStock); }
/// <summary> /// Create a new ItemStock object. /// </summary> /// <param name="itemStockId">Initial value of the ItemStockId property.</param> public static ItemStock CreateItemStock(global::System.Guid itemStockId) { ItemStock itemStock = new ItemStock(); itemStock.ItemStockId = itemStockId; return itemStock; }
/// <summary> /// Deprecated Method for adding a new object to the ItemStocks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemStocks(ItemStock itemStock) { base.AddObject("ItemStocks", itemStock); }