/// <summary>
 /// Constructor, that accepts data from an existing Description
 /// </summary>
 /// <param name="projectDetail">PdfData</param>
 public ProjectDetail(ProjectDetail projectDetail)
 {
     this.id          = projectDetail.Id;
     this.name        = projectDetail.Name;
     this.description = projectDetail.Description;
     this.period      = projectDetail.Period;
     this.answerDate  = projectDetail.AnswerDate;
 }
Exemple #2
0
 /// <summary>
 /// Constructor, that accepts data from an existing Project
 /// </summary>
 /// <param name="project"></param>
 public Project(Project project)
 {
     this.id             = project.Id;
     this._case          = project.Case;
     this.builder        = project.Builder;
     this.status         = project.Status;
     this.tenderForm     = project.TenderForm;
     this.enterpriseForm = project.EnterpriseForm;
     this.executive      = project.Executive;
     this.details        = project.Details;
     this.enterpriseList = project.EnterpriseList;
     this.copy           = project.Copy;
 }
Exemple #3
0
 /// <summary>
 /// Constructor to add a project from Db to List
 /// </summary>
 /// <param name="id">int</param>
 /// <param name="Case">int</param>
 /// <param name="builder">string</param>
 /// <param name="status">int</param>
 /// <param name="tenderForm">int</param>
 /// <param name="enterpriseForm">int</param>
 /// <param name="executive">int</param>
 /// <param name="details">ProjectDetail</param>
 /// <param name="enterPriseList">bool</param>
 /// <param name="copy">bool</param>
 public Project(int id, int Case, Builder builder, ProjectStatus status, TenderForm tenderForm, EnterpriseForm enterpriseForm, User executive, ProjectDetail details, bool enterpriseList, bool copy = false)
 {
     this.id             = id;
     this._case          = Case;
     this.builder        = builder;
     this.status         = status;
     this.tenderForm     = tenderForm;
     this.enterpriseForm = enterpriseForm;
     this.executive      = executive;
     this.details        = details;
     this.enterpriseList = enterpriseList;
     this.copy           = copy;
 }