/// <summary>
 /// Deprecated Method for adding a new object to the TimeEntries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTimeEntries(TimeEntry timeEntry)
 {
     base.AddObject("TimeEntries", timeEntry);
 }
 /// <summary>
 /// Create a new TimeEntry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="issueId">Initial value of the IssueId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="hours">Initial value of the Hours property.</param>
 /// <param name="spentOn">Initial value of the SpentOn property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="activityId">Initial value of the ActivityId property.</param>
 public static TimeEntry CreateTimeEntry(global::System.Int32 id, global::System.Int32 issueId, global::System.Guid userId, global::System.Double hours, global::System.DateTime spentOn, global::System.DateTime createdOn, global::System.Int32 activityId)
 {
     TimeEntry timeEntry = new TimeEntry();
     timeEntry.Id = id;
     timeEntry.IssueId = issueId;
     timeEntry.UserId = userId;
     timeEntry.Hours = hours;
     timeEntry.SpentOn = spentOn;
     timeEntry.CreatedOn = createdOn;
     timeEntry.ActivityId = activityId;
     return timeEntry;
 }