/// <summary>
 /// Create a new ProductMaterialItem object.
 /// </summary>
 /// <param name="productMaterialItemID">Initial value of the ProductMaterialItemID property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="cost">Initial value of the Cost property.</param>
 /// <param name="taxInINR">Initial value of the TaxInINR property.</param>
 /// <param name="materialID">Initial value of the MaterialID property.</param>
 /// <param name="subMaterialNameID">Initial value of the SubMaterialNameID property.</param>
 /// <param name="uOMID">Initial value of the UOMID property.</param>
 public static ProductMaterialItem CreateProductMaterialItem(global::System.Int64 productMaterialItemID, global::System.Decimal quantity, global::System.Decimal cost, global::System.Decimal taxInINR, global::System.Int64 materialID, global::System.Int64 subMaterialNameID, global::System.Int16 uOMID)
 {
     ProductMaterialItem productMaterialItem = new ProductMaterialItem();
     productMaterialItem.ProductMaterialItemID = productMaterialItemID;
     productMaterialItem.Quantity = quantity;
     productMaterialItem.Cost = cost;
     productMaterialItem.TaxInINR = taxInINR;
     productMaterialItem.MaterialID = materialID;
     productMaterialItem.SubMaterialNameID = subMaterialNameID;
     productMaterialItem.UOMID = uOMID;
     return productMaterialItem;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductMaterialItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductMaterialItems(ProductMaterialItem productMaterialItem)
 {
     base.AddObject("ProductMaterialItems", productMaterialItem);
 }