Esempio n. 1
0
 protected Covenant(
     Guid id,
     Contract contract,
     PartyInRole covenantor
     ) : base(
         id,
         contract)
 {
     Covenantor = covenantor;
 }
Esempio n. 2
0
 public Parties(
     CommonDomainObjects commonDomainObjects
     ) : base(
         "Parties",
         commonDomainObjects)
 {
     PartyInRole = this.DeclareClass <PartyInRole>();
     PartyInRole.SubClassOf(commonDomainObjects.DomainObject);
     Role         = PartyInRole.DeclareObjectProperty <PartyInRole, Role>(partyInRole => partyInRole.Role);
     Organisation = PartyInRole.DeclareObjectProperty <PartyInRole, Organisation>(partyInRole => partyInRole.Organisation);
     Person       = PartyInRole.DeclareObjectProperty <PartyInRole, Person>(partyInRole => partyInRole.Person);
 }
Esempio n. 3
0
 public Guarantee(
     Guid id,
     Facility facility,
     PartyInRole guarantor,
     decimal?commercialCover,
     decimal?politicalCover
     ) : base(
         id,
         facility)
 {
     Guarantor       = guarantor;
     CommercialCover = commercialCover;
     PoliticalCover  = politicalCover;
 }
 public LenderParticipation(
     Guid id,
     Facility facility,
     PartyInRole lender,
     decimal?underwriteAmount,
     decimal?creditSoughtLimit,
     decimal?anticipatedHoldAmount,
     decimal?actualAllocation
     ) : base(
         id,
         facility)
 {
     Lender                = lender;
     UnderwriteAmount      = underwriteAmount;
     CreditSoughtLimit     = creditSoughtLimit;
     AnticipatedHoldAmount = anticipatedHoldAmount;
     ActualAllocation      = actualAllocation;
     Amount                = new Variable <decimal?>(actualAllocation ?? anticipatedHoldAmount);
 }