Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonTasks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonTasks(PersonTask personTask)
 {
     base.AddObject("PersonTasks", personTask);
 }
Example #2
0
 /// <summary>
 /// Create a new PersonTask object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="task_ID">Initial value of the Task_ID property.</param>
 /// <param name="person_ID">Initial value of the Person_ID property.</param>
 public static PersonTask CreatePersonTask(global::System.Int32 id, global::System.Int32 task_ID, global::System.Int32 person_ID)
 {
     PersonTask personTask = new PersonTask();
     personTask.ID = id;
     personTask.Task_ID = task_ID;
     personTask.Person_ID = person_ID;
     return personTask;
 }