I'm working on a social media website, we are developing a notification system Facebook style
The problem is that we have a Notification base class and there are many different derived notification's classes as MentionNotification, LikeNotification.
This derived classes many times has their own navigation properties, so we has to change NotificationRepository to Include all this new navigation properties,
I can't find a way to avoid modify the Base repository avoiding N+1 query.
Any idea will be welcome