/// <summary> /// Deprecated Method for adding a new object to the InventoryPositions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInventoryPositions(InventoryPosition inventoryPosition) { base.AddObject("InventoryPositions", inventoryPosition); }
/// <summary> /// Create a new InventoryPosition object. /// </summary> /// <param name="positionId">Initial value of the PositionId property.</param> /// <param name="albumId">Initial value of the AlbumId property.</param> public static InventoryPosition CreateInventoryPosition(global::System.Int32 positionId, global::System.Int32 albumId) { InventoryPosition inventoryPosition = new InventoryPosition(); inventoryPosition.PositionId = positionId; inventoryPosition.AlbumId = albumId; return inventoryPosition; }