/// <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); }
/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Sprints EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSprints(Sprint sprint) { base.AddObject("Sprints", sprint); }