/// <summary> /// Create a new Bonu object. /// </summary> /// <param name="bonousPaidID">Initial value of the BonousPaidID property.</param> /// <param name="bonousPaidDate">Initial value of the BonousPaidDate property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="taxAmount">Initial value of the TaxAmount property.</param> /// <param name="netAmountPaid">Initial value of the NetAmountPaid property.</param> public static Bonu CreateBonu(global::System.Int32 bonousPaidID, global::System.DateTime bonousPaidDate, global::System.Decimal amount, global::System.Decimal taxAmount, global::System.Decimal netAmountPaid) { Bonu bonu = new Bonu(); bonu.BonousPaidID = bonousPaidID; bonu.BonousPaidDate = bonousPaidDate; bonu.Amount = amount; bonu.TaxAmount = taxAmount; bonu.NetAmountPaid = netAmountPaid; return bonu; }
/// <summary> /// Deprecated Method for adding a new object to the Bonus EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBonus(Bonu bonu) { base.AddObject("Bonus", bonu); }