Lets say I have 2 tables. ProductCategory and Product. I have 1 generic repository that can handle both tables:
ProductCategory
Product
public class Generi
There are many ways to implement Unit of work. I prefer having the repositories take a Unit of Work in its constructor (which is passed via Dependency Injection), then you only create repositories for your needs.