title: Error - The type 'TEntity' must be a reference type in order to use it as parameter
body: <pre><code>public class Repository&lt;TEntity&gt; : IRepository&lt;TEntity&gt; where TEntity : Entity
  {
      private IDbSet&lt;TEntity&gt; GetSet()
      {
         return _unitOfWork.CreateSet&lt;TEntity&gt;();
      }
  }
  </code></pre>
  
  <p>In the above code am getting following error on <strong>GetSet()</strong></p>
  
  <blockquote>
    <p>Error 1   The type 'TEntity' must be a reference type in order to use it as parameter 'TEntity' in the generic type or method 'System.Data.Entity.IDbSet'    E:\Pradeep\Workshop\WebAPI\Extras\DDD\DDD.WebAPI\4.DDD.Infrastructure\Repository\Repository.cs  44  33  4.DDD.Infrastructure</p>
  </blockquote>