/// <summary>
 /// Deprecated Method for adding a new object to the IssueViewedStates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIssueViewedStates(IssueViewedState issueViewedState)
 {
     base.AddObject("IssueViewedStates", issueViewedState);
 }
 /// <summary>
 /// Create a new IssueViewedState 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="viewed">Initial value of the Viewed property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 public static IssueViewedState CreateIssueViewedState(global::System.Int32 id, global::System.Int32 issueId, global::System.Int32 userId, global::System.Boolean viewed, global::System.DateTime lastUpdated)
 {
     IssueViewedState issueViewedState = new IssueViewedState();
     issueViewedState.Id = id;
     issueViewedState.IssueId = issueId;
     issueViewedState.UserId = userId;
     issueViewedState.Viewed = viewed;
     issueViewedState.LastUpdated = lastUpdated;
     return issueViewedState;
 }