Epiworx.Business.Sprint.Fetch C# (CSharp) Method

Fetch() protected method

protected Fetch ( SprintData data ) : void
data SprintData
return void
        protected void Fetch(SprintData data)
        {
            this.SprintId = data.SprintId;
            this.CompletedDate = data.CompletedDate;
            this.Description = data.Description;
            this.IsActive = data.IsActive;
            this.IsArchived = data.IsArchived;
            this.IsCompleted = data.IsCompleted;
            this.Duration = data.Duration;
            this.EstimatedCompletedDate = data.EstimatedCompletedDate;
            this.EstimatedDuration = data.EstimatedDuration;
            this.Name = data.Name;
            this.ProjectId = data.ProjectId;
            this.ProjectName = data.Project.Name;
            this.CreatedBy = data.CreatedBy;
            this.CreatedByName = data.CreatedByUser.Name;
            this.CreatedDate = data.CreatedDate;
            this.ModifiedBy = data.ModifiedBy;
            this.ModifiedByName = data.ModifiedByUser.Name;
            this.ModifiedDate = data.ModifiedDate;
        }

Usage Example

Example #1
0
        internal static Sprint FetchSprint(SprintData data)
        {
            var result = new Sprint();

            result.Fetch(data);
            result.MarkOld();

            return result;
        }
All Usage Examples Of Epiworx.Business.Sprint::Fetch