title: Multiple generic repositories in unitofwork?
body: <p>Lets say I have 2 tables. <code>ProductCategory</code> and <code>Product</code>. I have 1 generic repository that can handle both tables:</p>
  
  <pre><code>public class GenericRepository&lt;T&gt; : IRepository&lt;T&gt;
  </code></pre>
  
  <p>But when using unit of work pattern, am I forced to create a repository for ALL tables in my database?</p>
  
  <pre><code>public interface IUnitOfWork : IDisposable
  {
      int SaveChanges();
  
      IRepository&lt;ProductCategory&gt; ProductCategoryRepository { get; }
      IRepository&lt;Product&gt; ProductRepository { get; }
  }
  </code></pre>
  
  <p>Is there not a way I can add the generic repository to the unit of work class?</p>