/// <summary> /// Deprecated Method for adding a new object to the InventoryTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInventoryTypes(InventoryType inventoryType) { base.AddObject("InventoryTypes", inventoryType); }
/// <summary> /// Create a new InventoryType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="type">Initial value of the Type property.</param> public static InventoryType CreateInventoryType(global::System.Int32 id, global::System.String type) { InventoryType inventoryType = new InventoryType(); inventoryType.ID = id; inventoryType.Type = type; return inventoryType; }