/// <summary> /// Deprecated Method for adding a new object to the IssueReplyViewedStates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIssueReplyViewedStates(IssueReplyViewedState issueReplyViewedState) { base.AddObject("IssueReplyViewedStates", issueReplyViewedState); }
/// <summary> /// Create a new IssueReplyViewedState object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="issueReplyId">Initial value of the IssueReplyId 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 IssueReplyViewedState CreateIssueReplyViewedState(global::System.Int32 id, global::System.Int32 issueReplyId, global::System.Int32 userId, global::System.Boolean viewed, global::System.DateTime lastUpdated) { IssueReplyViewedState issueReplyViewedState = new IssueReplyViewedState(); issueReplyViewedState.Id = id; issueReplyViewedState.IssueReplyId = issueReplyId; issueReplyViewedState.UserId = userId; issueReplyViewedState.Viewed = viewed; issueReplyViewedState.LastUpdated = lastUpdated; return issueReplyViewedState; }