Example #1
0
        /// <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&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemStocks(ItemStock itemStock)
 {
     base.AddObject("ItemStocks", itemStock);
 }
Example #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ItemStocks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemStocks(ItemStock itemStock)
 {
     base.AddObject("ItemStocks", itemStock);
 }