/// <summary> /// Deprecated Method for adding a new object to the InventoryCosts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInventoryCosts(InventoryCost inventoryCost) { base.AddObject("InventoryCosts", inventoryCost); }
/// <summary> /// Create a new InventoryCost object. /// </summary> /// <param name="materialId">Initial value of the MaterialId property.</param> public static InventoryCost CreateInventoryCost(global::System.Int32 materialId) { InventoryCost inventoryCost = new InventoryCost(); inventoryCost.MaterialId = materialId; return inventoryCost; }