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

DataPortal_Create() private method

private DataPortal_Create ( SprintDataCriteria criteria ) : void
criteria SprintDataCriteria
return void
        protected void DataPortal_Create(SprintDataCriteria criteria)
        {
            using (this.BypassPropertyChecks)
            {
                this.CompletedDate = DateTime.MaxValue.Date;
                this.IsActive = true;
                this.EstimatedCompletedDate = DateTime.MaxValue.Date;

                if (criteria.ProjectId != null)
                {
                    this.ProjectId = criteria.ProjectId[0];
                }

                this.ModifiedDate = DateTime.Now;
                this.CreatedDate = DateTime.Now;
            }

            this.PropertyHasChanged(ProjectIdProperty);

            base.DataPortal_Create();
        }