Beispiel #1
0
 /// <summary>
 /// Create a new TaskRole object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="role">Initial value of the Role property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 public static TaskRole CreateTaskRole(global::System.Int32 id, global::System.String role, global::System.DateTime lastUpdated)
 {
     TaskRole taskRole = new TaskRole();
     taskRole.ID = id;
     taskRole.Role = role;
     taskRole.LastUpdated = lastUpdated;
     return taskRole;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TaskRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTaskRoles(TaskRole taskRole)
 {
     base.AddObject("TaskRoles", taskRole);
 }