Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Iteration EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIteration(Iteration iteration)
 {
     base.AddObject("Iteration", iteration);
 }
Ejemplo n.º 2
0
 public string GetIterationDisplayName(Iteration it)
 {
     return "StartDate: " + it.StartDate.ToShortDateString() + " EndDate :" + it.StartDate.ToShortDateString();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Create a new Iteration object.
 /// </summary>
 /// <param name="iterationID">Initial value of the IterationID property.</param>
 /// <param name="projectID">Initial value of the ProjectID property.</param>
 /// <param name="timeLineID">Initial value of the TimeLineID property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 /// <param name="parentID">Initial value of the ParentID property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="sequence">Initial value of the Sequence property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdDateUtc">Initial value of the CreatedDateUtc property.</param>
 /// <param name="createdSystemID">Initial value of the CreatedSystemID property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="lastModifiedDateUtc">Initial value of the LastModifiedDateUtc property.</param>
 /// <param name="lastModifiedSystemID">Initial value of the LastModifiedSystemID property.</param>
 /// <param name="versionNumber">Initial value of the VersionNumber property.</param>
 public static Iteration CreateIteration(global::System.Int32 iterationID, global::System.Int32 projectID, global::System.Int32 timeLineID, global::System.DateTime endDate, global::System.Int32 parentID, global::System.DateTime startDate, global::System.String name, global::System.Int32 sequence, global::System.String createdBy, global::System.DateTime createdDateUtc, global::System.Int32 createdSystemID, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDateUtc, global::System.Int32 lastModifiedSystemID, global::System.Int64 versionNumber)
 {
     Iteration iteration = new Iteration();
     iteration.IterationID = iterationID;
     iteration.ProjectID = projectID;
     iteration.TimeLineID = timeLineID;
     iteration.EndDate = endDate;
     iteration.ParentID = parentID;
     iteration.StartDate = startDate;
     iteration.Name = name;
     iteration.Sequence = sequence;
     iteration.CreatedBy = createdBy;
     iteration.CreatedDateUtc = createdDateUtc;
     iteration.CreatedSystemID = createdSystemID;
     iteration.LastModifiedBy = lastModifiedBy;
     iteration.LastModifiedDateUtc = lastModifiedDateUtc;
     iteration.LastModifiedSystemID = lastModifiedSystemID;
     iteration.VersionNumber = versionNumber;
     return iteration;
 }