How to extend the Repository class

I’ve followed the pattern introduced in the EF 6 course.

I would like to have a Generic method to run across certain tables. Currently the IRepository interface/class makes all the methods listed in the interface available to all entities using this pattern (which is fine).

Is there a way to introduce another class which would allow additional methods available only to the classes i choose to have them against? I tried doing this but got an error about a class not allowed to have multiple base classes when replicating this pattern with my chosen methods.

Let me know if this question isnt clear

You can write a new interface inheriting from IRepository introducing the new methods. And you can derive a class from Repository that implements the new interface providing implementations for these methods. This class can then be the base class for the repositories you need the new methods in.