protected Covenant( Guid id, Contract contract, PartyInRole covenantor ) : base( id, contract) { Covenantor = covenantor; }
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); }
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); }