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