Exemplo n.º 1
0
 /// <summary>
 /// Create a new Bug object.
 /// </summary>
 /// <param name="bug_Id">Initial value of the Bug_Id property.</param>
 /// <param name="bug_Description">Initial value of the Bug_Description property.</param>
 /// <param name="bug_Spotted_On">Initial value of the Bug_Spotted_On property.</param>
 /// <param name="bug_Spotted_By">Initial value of the Bug_Spotted_By property.</param>
 /// <param name="bug_Assigned_To">Initial value of the Bug_Assigned_To property.</param>
 /// <param name="bug_Status_Id">Initial value of the Bug_Status_Id property.</param>
 /// <param name="bug_Project_Id">Initial value of the Bug_Project_Id property.</param>
 public static Bug CreateBug(global::System.Int32 bug_Id, global::System.String bug_Description, global::System.DateTime bug_Spotted_On, global::System.Int32 bug_Spotted_By, global::System.Int32 bug_Assigned_To, global::System.Int32 bug_Status_Id, global::System.Int32 bug_Project_Id)
 {
     Bug bug = new Bug();
     bug.Bug_Id = bug_Id;
     bug.Bug_Description = bug_Description;
     bug.Bug_Spotted_On = bug_Spotted_On;
     bug.Bug_Spotted_By = bug_Spotted_By;
     bug.Bug_Assigned_To = bug_Assigned_To;
     bug.Bug_Status_Id = bug_Status_Id;
     bug.Bug_Project_Id = bug_Project_Id;
     return bug;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Bugs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBugs(Bug bug)
 {
     base.AddObject("Bugs", bug);
 }