Exemple #1
0
 /// <summary>
 /// Constructor for building a new simple object with the POCO class
 /// </summary>
 public AgreementSimple(Agreement agreement)
     : this()
 {
     ReclamationAgreementID          = agreement.AgreementID;
     ReclamationAgreementDisplayName = $"{agreement.AgreementNumber} - {agreement.GetOrganizationDisplayName()} - {agreement.ContractType.ContractTypeDisplayName}";
     AgreementNumber = agreement.AgreementNumber;
 }