/// <summary> /// Create a new item object. /// </summary> /// <param name="description">Initial value of the Description property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="itemPKey">Initial value of the ItemPKey property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="restockPoint">Initial value of the RestockPoint property.</param> public static item Createitem(global::System.String description, global::System.String id, global::System.Int64 itemPKey, global::System.Int64 quantity, global::System.String restockPoint) { item item = new item(); item.Description = description; item.Id = id; item.ItemPKey = itemPKey; item.Quantity = quantity; item.RestockPoint = restockPoint; return item; }
/// <summary> /// Deprecated Method for adding a new object to the items EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToitems(item item) { base.AddObject("items", item); }