コード例 #1
0
        /// <summary>
        /// Create a new Sprint object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="projectId">Initial value of the ProjectId property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="from">Initial value of the From property.</param>
        /// <param name="to">Initial value of the To property.</param>
        /// <param name="isActive">Initial value of the IsActive property.</param>
        public static Sprint CreateSprint(global::System.Guid id, global::System.Guid projectId, global::System.String name, global::System.DateTime from, global::System.DateTime to, global::System.Boolean isActive)
        {
            Sprint sprint = new Sprint();

            sprint.Id        = id;
            sprint.ProjectId = projectId;
            sprint.Name      = name;
            sprint.From      = from;
            sprint.To        = to;
            sprint.IsActive  = isActive;
            return(sprint);
        }
コード例 #2
0
ファイル: ReadModel.Designer.cs プロジェクト: stgolem/Scrumr
 /// <summary>
 /// Create a new Sprint object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="projectId">Initial value of the ProjectId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="from">Initial value of the From property.</param>
 /// <param name="to">Initial value of the To property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static Sprint CreateSprint(global::System.Guid id, global::System.Guid projectId, global::System.String name, global::System.DateTime from, global::System.DateTime to, global::System.Boolean isActive)
 {
     Sprint sprint = new Sprint();
     sprint.Id = id;
     sprint.ProjectId = projectId;
     sprint.Name = name;
     sprint.From = from;
     sprint.To = to;
     sprint.IsActive = isActive;
     return sprint;
 }
コード例 #3
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);
 }
コード例 #4
0
ファイル: ReadModel.Designer.cs プロジェクト: stgolem/Scrumr
 /// <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);
 }