Skip to content

Instantly share code, notes, and snippets.

@MarcoNicolodi
Created November 29, 2019 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcoNicolodi/f36b3a35b695eb349edb453c7cf3bcce to your computer and use it in GitHub Desktop.
Save MarcoNicolodi/f36b3a35b695eb349edb453c7cf3bcce to your computer and use it in GitHub Desktop.
Showing different relationships between aggregates
public class Proposal : Entity
{
public Guid CandidateId { get; }
public Guid JobListingId { get; }
}
public class Proposal : Entity
{
public Candidate CandidateId { get; }
public JobListing JobListingId { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment