コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sprints EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSprints(Sprint sprint)
 {
     base.AddObject("Sprints", sprint);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Sprint object.
 /// </summary>
 /// <param name="sprintId">Initial value of the SprintId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="projectId">Initial value of the ProjectId property.</param>
 /// <param name="isCompleted">Initial value of the IsCompleted property.</param>
 /// <param name="completedDate">Initial value of the CompletedDate property.</param>
 /// <param name="estimatedCompletedDate">Initial value of the EstimatedCompletedDate property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="isArchived">Initial value of the IsArchived property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static Sprint CreateSprint(global::System.Int32 sprintId, global::System.String name, global::System.Int32 projectId, global::System.Boolean isCompleted, global::System.DateTime completedDate, global::System.DateTime estimatedCompletedDate, global::System.Boolean isActive, global::System.Boolean isArchived, global::System.Int32 modifiedBy, global::System.DateTime modifiedDate, global::System.Int32 createdBy, global::System.DateTime createdDate)
 {
     Sprint sprint = new Sprint();
     sprint.SprintId = sprintId;
     sprint.Name = name;
     sprint.ProjectId = projectId;
     sprint.IsCompleted = isCompleted;
     sprint.CompletedDate = completedDate;
     sprint.EstimatedCompletedDate = estimatedCompletedDate;
     sprint.IsActive = isActive;
     sprint.IsArchived = isArchived;
     sprint.ModifiedBy = modifiedBy;
     sprint.ModifiedDate = modifiedDate;
     sprint.CreatedBy = createdBy;
     sprint.CreatedDate = createdDate;
     return sprint;
 }