/// <summary> /// Create a new ResourceInventory object. /// </summary> /// <param name="resourceInventoryID">Initial value of the ResourceInventoryID property.</param> /// <param name="resourcePoolID">Initial value of the ResourcePoolID property.</param> /// <param name="organizationLocationID">Initial value of the OrganizationLocationID property.</param> /// <param name="checkInventory">Initial value of the CheckInventory property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static ResourceInventory CreateResourceInventory(global::System.Int32 resourceInventoryID, global::System.Int32 resourcePoolID, global::System.Int32 organizationLocationID, global::System.Boolean checkInventory, global::System.Int32 quantity, global::System.Int32 createdBy, global::System.DateTime createdDate) { ResourceInventory resourceInventory = new ResourceInventory(); resourceInventory.ResourceInventoryID = resourceInventoryID; resourceInventory.ResourcePoolID = resourcePoolID; resourceInventory.OrganizationLocationID = organizationLocationID; resourceInventory.CheckInventory = checkInventory; resourceInventory.Quantity = quantity; resourceInventory.CreatedBy = createdBy; resourceInventory.CreatedDate = createdDate; 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); }