We are working on a new project (rewriting an existing application), and I am having problems with the design of my model / repository.
Here is a (simplified) version of two key parts in our domain model:

As you can see, I have an abstract Post concept that may look like a review, discussion, photo, video, etc. Posts also have comments.
I also have the abstract concept of Location , which obviously refers to streets, cities, neighborhoods, etc.
Now, it naturally looked like two distinct aggregate roots.
So, I created two repositories, one of which is called PostRepository , and the other - LocationRepository .
All this worked fine, I can add / receive any type of message (or comment) and add / receive any type of location through one of these two repositories.
But now im in the "landing page" script for the City (for example).
On this page, I mainly need to show "all posts for this location."
? , () . , ( , DDD), , , , / .
?
? ?
( ), - (ASP.NET MVC) SQL Server 2008 Entity Framework 4.0.
- , .
Specification .
, BLL , Score >= 4:
var reviews = postRepository
.Find()
.OfType<Review>()
.Where(x => x.Score >= 4)
.ToList();
:
var reviews = postRepository
.Find()
.OfType<Review>()
.Where(
.ToList();
, , (LocationPost - ) FK Post .
, , - ?