/// <summary> /// Create a new TaxProgressionItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="rowStatus">Initial value of the RowStatus property.</param> /// <param name="taxProgressionGroupId">Initial value of the TaxProgressionGroupId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="startValue">Initial value of the StartValue property.</param> /// <param name="endValue">Initial value of the EndValue property.</param> /// <param name="percentage">Initial value of the Percentage property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static TaxProgressionItem CreateTaxProgressionItem(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Byte rowStatus, global::System.Int32 taxProgressionGroupId, global::System.String name, global::System.Decimal startValue, global::System.Decimal endValue, global::System.Decimal percentage, global::System.String createdBy, global::System.DateTime createdDate) { TaxProgressionItem taxProgressionItem = new TaxProgressionItem(); taxProgressionItem.Id = id; taxProgressionItem.RowVersion = rowVersion; taxProgressionItem.RowStatus = rowStatus; taxProgressionItem.TaxProgressionGroupId = taxProgressionGroupId; taxProgressionItem.Name = name; taxProgressionItem.StartValue = startValue; taxProgressionItem.EndValue = endValue; taxProgressionItem.Percentage = percentage; taxProgressionItem.CreatedBy = createdBy; taxProgressionItem.CreatedDate = createdDate; return taxProgressionItem; }
/// <summary> /// Deprecated Method for adding a new object to the TaxProgressionItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaxProgressionItems(TaxProgressionItem taxProgressionItem) { base.AddObject("TaxProgressionItems", taxProgressionItem); }