/// <summary> /// Deprecated Method for adding a new object to the Issues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIssues(Issue issue) { base.AddObject("Issues", issue); }
/// <summary> /// Create a new Issue object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="issueTitle">Initial value of the IssueTitle property.</param> /// <param name="dateRaised">Initial value of the DateRaised property.</param> /// <param name="issueDescription">Initial value of the IssueDescription property.</param> /// <param name="issue_Employee1">Initial value of the Issue_Employee1 property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="priority">Initial value of the Priority property.</param> /// <param name="issueType_Issue">Initial value of the IssueType_Issue property.</param> /// <param name="targetResolutionDate">Initial value of the TargetResolutionDate property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Issue CreateIssue(global::System.Int32 id, global::System.String issueTitle, global::System.DateTime dateRaised, global::System.String issueDescription, global::System.Int32 issue_Employee1, global::System.String status, global::System.String priority, global::System.Int32 issueType_Issue, global::System.DateTime targetResolutionDate, global::System.Byte[] rowVersion) { Issue issue = new Issue(); issue.Id = id; issue.IssueTitle = issueTitle; issue.DateRaised = dateRaised; issue.IssueDescription = issueDescription; issue.Issue_Employee1 = issue_Employee1; issue.Status = status; issue.Priority = priority; issue.IssueType_Issue = issueType_Issue; issue.TargetResolutionDate = targetResolutionDate; issue.RowVersion = rowVersion; return issue; }