예제 #1
0
 /// <summary>
 /// Create a new TaskAssignment object.
 /// </summary>
 /// <param name="taskAssignmentID">Initial value of the TaskAssignmentID property.</param>
 /// <param name="taskID">Initial value of the TaskID property.</param>
 /// <param name="developerID">Initial value of the DeveloperID property.</param>
 public static TaskAssignment CreateTaskAssignment(global::System.Int32 taskAssignmentID, global::System.Int32 taskID, global::System.Int32 developerID)
 {
     TaskAssignment taskAssignment = new TaskAssignment();
     taskAssignment.TaskAssignmentID = taskAssignmentID;
     taskAssignment.TaskID = taskID;
     taskAssignment.DeveloperID = developerID;
     return taskAssignment;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TaskAssignments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTaskAssignments(TaskAssignment taskAssignment)
 {
     base.AddObject("TaskAssignments", taskAssignment);
 }