/// <summary> /// Create a new ResourceInventory object. /// </summary> /// <param name="resourceInventoryID">Initial value of the ResourceInventoryID property.</param> public static ResourceInventory CreateResourceInventory(global::System.Int32 resourceInventoryID) { ResourceInventory resourceInventory = new ResourceInventory(); resourceInventory.ResourceInventoryID = resourceInventoryID; return resourceInventory; }
/// <summary> /// Deprecated Method for adding a new object to the ResourceInventories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToResourceInventories(ResourceInventory resourceInventory) { base.AddObject("ResourceInventories", resourceInventory); }