public Sponsor( int id = default, Event sponsoredevent = default, Company sponsoringcompany = default, SponsorLevel sponsorshiplevel = default ) { this.Id = id; this.SponsoredEvent = new Event(sponsoredevent); this.SponsoringCompany = new Company(sponsoringcompany); this.SponsorshipLevel = new SponsorLevel(sponsorshiplevel); }
public Sponsor WithSponsorshipLevel(SponsorLevel sponsorshiplevel) => new Sponsor(this.Id, this.SponsoredEvent, this.SponsoringCompany, sponsorshiplevel);