The first and only rule with EntityRepository is not to ever inherit them, ever.
The only valid reason to inherit EntityRepository is to add more common methods to all EntityRepositories in application,
when you're creating your own framework (but do we really need to go any deeper than this?).