/// <summary>
 /// Create a new Inventory object.
 /// </summary>
 /// <param name="carID">Initial value of the CarID property.</param>
 public static Inventory CreateInventory(global::System.Int32 carID)
 {
     Inventory inventory = new Inventory();
     inventory.CarID = carID;
     return inventory;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Inventories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInventories(Inventory inventory)
 {
     base.AddObject("Inventories", inventory);
 }