/// <summary> /// Deprecated Method for adding a new object to the HourlyRates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHourlyRates(HourlyRate hourlyRate) { base.AddObject("HourlyRates", hourlyRate); }
/// <summary> /// Create a new HourlyRate object. /// </summary> /// <param name="hourlyRateID">Initial value of the HourlyRateID property.</param> /// <param name="assignmentID">Initial value of the AssignmentID property.</param> /// <param name="hourlyRate1">Initial value of the HourlyRate1 property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static HourlyRate CreateHourlyRate(global::System.Int32 hourlyRateID, global::System.Int32 assignmentID, global::System.Decimal hourlyRate1, global::System.DateTime startDate, global::System.DateTime createdDate, global::System.String createdBy) { HourlyRate hourlyRate = new HourlyRate(); hourlyRate.HourlyRateID = hourlyRateID; hourlyRate.AssignmentID = assignmentID; hourlyRate.HourlyRate1 = hourlyRate1; hourlyRate.StartDate = startDate; hourlyRate.CreatedDate = createdDate; hourlyRate.CreatedBy = createdBy; return hourlyRate; }