/// <summary> /// Deprecated Method for adding a new object to the OtherChargesCredits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOtherChargesCredits(OtherChargesCredit otherChargesCredit) { base.AddObject("OtherChargesCredits", otherChargesCredit); }
/// <summary> /// Create a new OtherChargesCredit object. /// </summary> /// <param name="chargeCreditID">Initial value of the ChargeCreditID property.</param> /// <param name="assignmentID">Initial value of the AssignmentID property.</param> /// <param name="chargeCredit">Initial value of the ChargeCredit property.</param> /// <param name="chargeCreditDescr">Initial value of the ChargeCreditDescr property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static OtherChargesCredit CreateOtherChargesCredit(global::System.Int32 chargeCreditID, global::System.Int32 assignmentID, global::System.Double chargeCredit, global::System.String chargeCreditDescr, global::System.DateTime createdDate, global::System.String createdBy) { OtherChargesCredit otherChargesCredit = new OtherChargesCredit(); otherChargesCredit.ChargeCreditID = chargeCreditID; otherChargesCredit.AssignmentID = assignmentID; otherChargesCredit.ChargeCredit = chargeCredit; otherChargesCredit.ChargeCreditDescr = chargeCreditDescr; otherChargesCredit.CreatedDate = createdDate; otherChargesCredit.CreatedBy = createdBy; return otherChargesCredit; }