Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InventoryCosts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInventoryCosts(InventoryCost inventoryCost)
 {
     base.AddObject("InventoryCosts", inventoryCost);
 }
Ejemplo n.º 2
0
 /// <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;
 }