/// <summary> /// Deprecated Method for adding a new object to the ItemInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemInfoes(ItemInfo itemInfo) { base.AddObject("ItemInfoes", itemInfo); }
/// <summary> /// Create a new ItemInfo object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> public static ItemInfo CreateItemInfo(global::System.Int64 id, global::System.String quantity) { ItemInfo itemInfo = new ItemInfo(); itemInfo.Id = id; itemInfo.Quantity = quantity; return itemInfo; }