コード例 #1
0
 /// <summary>
 /// Create a new Story object.
 /// </summary>
 /// <param name="storyID">Initial value of the StoryID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="projectID">Initial value of the ProjectID property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="areaID">Initial value of the AreaID property.</param>
 /// <param name="iterationID">Initial value of the IterationID property.</param>
 /// <param name="isSyncable">Initial value of the IsSyncable 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 Story CreateStory(global::System.Int32 storyID, global::System.String name, global::System.Int32 projectID, global::System.String status, global::System.Int32 areaID, global::System.Int32 iterationID, global::System.Boolean isSyncable, 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)
 {
     Story story = new Story();
     story.StoryID = storyID;
     story.Name = name;
     story.ProjectID = projectID;
     story.Status = status;
     story.AreaID = areaID;
     story.IterationID = iterationID;
     story.IsSyncable = isSyncable;
     story.CreatedBy = createdBy;
     story.CreatedDateUtc = createdDateUtc;
     story.CreatedSystemID = createdSystemID;
     story.LastModifiedBy = lastModifiedBy;
     story.LastModifiedDateUtc = lastModifiedDateUtc;
     story.LastModifiedSystemID = lastModifiedSystemID;
     story.VersionNumber = versionNumber;
     return story;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Story EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStory(Story story)
 {
     base.AddObject("Story", story);
 }