title: Using the repository pattern with Entity Framework (mvc storefront)
body: <p>Can anyone give a helping hand? I've been watching the videos for the MVC storefront and have created my own website using these techniques i.e. DDD, Repository pattern but I wish to use Entity Framework.</p>
  
  <p>In the Interfaces it returns IQueryable but with Entity Framework should I return ObjectQuery instead? - I will be using LINQ.</p>
  
  <p>Also in the storedfront example it goes something like this: IQueryable&lt;Category&gt; GetCategories();</p>
  
  <p>Also in the MVC store the Category class was a built entity class (standard class) but with Entity Framework these classes are prebuilt in the object context - are they not?</p>
  
  <p>So I should need to build them?</p>
  
  <p>I am a little confused. If anyone has any helpful example or code it would be really helpful. </p>
  
  <p>As I say, I have watched the videos from The MVC storefront using linq2sql but really would like to use Entity Framework.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks </p>
  
  <p>Smithy</p>