/// <summary> /// Create a new ProductVATRate object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="rate">Initial value of the Rate property.</param> /// <param name="record">Initial value of the Record property.</param> public static ProductVATRate CreateProductVATRate(global::System.Guid id, global::System.Double rate, global::System.Int32 record) { ProductVATRate productVATRate = new ProductVATRate(); productVATRate.ID = id; productVATRate.Rate = rate; productVATRate.Record = record; return productVATRate; }
/// <summary> /// Deprecated Method for adding a new object to the ProductVATRates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductVATRates(ProductVATRate productVATRate) { base.AddObject("ProductVATRates", productVATRate); }