Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Issue object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="developer">Initial value of the Developer property.</param>
 /// <param name="tester">Initial value of the Tester property.</param>
 /// <param name="fixer">Initial value of the Fixer property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="projectsId">Initial value of the ProjectsId property.</param>
 /// <param name="status_1_Id">Initial value of the Status_1_Id property.</param>
 /// <param name="priority_Id">Initial value of the Priority_Id property.</param>
 public static Issue CreateIssue(global::System.Int32 id, global::System.String name, global::System.String developer, global::System.String tester, global::System.String fixer, global::System.String status, global::System.Int32 projectsId, global::System.Int32 status_1_Id, global::System.Int32 priority_Id)
 {
     Issue issue = new Issue();
     issue.Id = id;
     issue.Name = name;
     issue.Developer = developer;
     issue.Tester = tester;
     issue.Fixer = fixer;
     issue.Status = status;
     issue.ProjectsId = projectsId;
     issue.Status_1_Id = status_1_Id;
     issue.Priority_Id = priority_Id;
     return issue;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Issues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIssues(Issue issue)
 {
     base.AddObject("Issues", issue);
 }