public ConstructionChangeDirective(object key, object projectKey, int number) : base(key, projectKey) { this.number = number; this.to = null; this.from = null; this.issueDate = null; this.contractor = null; this.description = string.Empty; this.attachment = string.Empty; this.reason = string.Empty; this.initiator = string.Empty; this.cause = 0; this.origin = 0; this.remarks = string.Empty; this.changeType = null; this.priceChangeDirection = ChangeDirection.Unchanged; this.amountChanged = 0; this.timeChangeDirection = ChangeDirection.Unchanged; this.timeChanged = 0; this.ownerSignatureDate = null; this.architectSignatureDate = null; this.contractorSignatureDate = null; this.numberSpecification = new NumberSpecification<ConstructionChangeDirective>(); this.descriptionSpecification = new DescriptionSpecification<ConstructionChangeDirective>(); this.changeOrderKey = null; this.ValidateInitialization(); this.brokenRuleMessages = new ConstructionChangeDirectiveRuleMessages(); }
public RequestForInformation(object key, object projectKey, int number) : base(key, projectKey) { this.number = number; this.from = null; this.dateReceived = null; this.dateRequestedBy = null; this.contractor = null; this.specSection = null; this.question = string.Empty; this.description = string.Empty; this.contractorProposedSolution = string.Empty; this.change = false; this.cause = 0; this.origin = 0; this.status = null; this.dateToField = null; this.shortAnswer = string.Empty; this.longAnswer = string.Empty; this.remarks = string.Empty; this.numberSpecification = new NumberSpecification<RequestForInformation>(); this.dateToFieldSpecification = new RequestForInformationDateSpecification(); this.questionAnswerSpecification = new RequestForInformationQuestionAnswerSpecification(); this.ValidateInitialization(); }
public RoutingItem(object key, Discipline discipline, int routingOrder, ProjectContact recipient, DateTime dateSent) : this(key, discipline, routingOrder, recipient, dateSent, null) { }
public ProposalRequest(object key, object projectKey, int number) : base(key, projectKey) { this.number = number; this.to = null; this.from = null; this.issueDate = null; this.GetExpectedContractorReturnDays(); this.expectedContractorReturnDate = this.TransmittalDate.AddDays(this.expectedContractorReturnDays); this.contractor = null; this.description = string.Empty; this.attachment = string.Empty; this.reason = string.Empty; this.initiator = string.Empty; this.cause = 0; this.origin = 0; this.remarks = string.Empty; this.numberSpecification = new NumberSpecification<ProposalRequest>(); this.descriptionSpecification = new DescriptionSpecification<ProposalRequest>(); this.ValidateInitialization(); this.brokenRuleMessages = new ProposalRequestRuleMessages(); }
public static void SaveProjectContact(ProjectContact contact) { ProjectService.contactRepository[contact.Contact.Key] = contact.Contact; // Add/Update the project contact ProjectService.projectRepository.SaveContact(contact); ProjectService.unitOfWork.Commit(); }
public RoutingItem(object key, Discipline discipline, int routingOrder, ProjectContact recipient, DateTime dateSent, DateTime? dateReturned) { this.key = key; this.discipline = discipline; this.routingOrder = routingOrder; this.recipient = recipient; this.dateSent = dateSent; this.DateReturned = dateReturned; }
public MutableCopyTo(CopyTo copyTo) { if (copyTo != null) { this.projectContact = copyTo.Contact; this.notes = copyTo.Notes; } else { this.projectContact = null; this.notes = string.Empty; } }
public Submittal(object key, SpecificationSection specSection, object projectKey) : base(key, projectKey) { this.specSection = specSection; this.specSectionPrimaryIndex = "01"; this.specSectionSecondaryIndex = "00"; this.to = null; this.from = null; this.dateReceived = null; this.contractNumber = string.Empty; this.trackingItems = new List<TrackingItem>(); this.remarks = string.Empty; this.action = ActionStatus.NoExceptionTaken; this.status = null; this.dateToField = null; this.remainderLocation = SubmittalRemainderLocation.None; this.remainderUnderSubmittalNumber = string.Empty; this.otherRemainderLocation = string.Empty; this.ValidateInitialization(); }
public static ProjectContact ToProjectContact(ProjectContactContract contract) { ProjectContact contact = null; if (contract != null) { contact = new ProjectContact(contract.ProjectKey, contract.Key, Converter.ToContact(contract.Contact)); contact.OnFinalDistributionList = contract.OnFinalDistributionList; } return contact; }
public CopyTo(ProjectContact contact, string notes) { this.contact = contact; this.notes = notes; }
public static void SaveProjectContact(ProjectContact contact) { contactRepository[contact.Contact.Key] = contact.Contact; projectRepository.SaveContact(contact); unitOfWork.Commit(); }