Esempio n. 1
0
 /// <summary>
 /// Create a new Team object.
 /// </summary>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="taskRoleID">Initial value of the TaskRoleID property.</param>
 /// <param name="checklistID">Initial value of the ChecklistID property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param>
 /// <param name="id">Initial value of the ID property.</param>
 public static Team CreateTeam(global::System.String name, global::System.Int32 taskRoleID, global::System.Int32 checklistID, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy, global::System.Int32 id)
 {
     Team team = new Team();
     team.Name = name;
     team.TaskRoleID = taskRoleID;
     team.ChecklistID = checklistID;
     team.LastUpdated = lastUpdated;
     team.LastUpdatedBy = lastUpdatedBy;
     team.ID = id;
     return team;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Teams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTeams(Team team)
 {
     base.AddObject("Teams", team);
 }