Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You cannot do it this. Check out the serie of post from Julie Lerman</p> <ol> <li><a href="http://thedatafarm.com/blog/data-access/agile-entity-framework-4-repository-part-1-model-and-poco-classes/" rel="nofollow noreferrer">Agile Entity Framework 4 Repository: Part 1- Model and POCO Classes</a> </li> <li><a href="http://thedatafarm.com/blog/data-access/agile-entity-framework-4-repository-part-2-the-repository/" rel="nofollow noreferrer">Agile Entity Framework 4 Repository: Part 2- The Repository</a> </li> <li><a href="http://thedatafarm.com/blog/data-access/agile-ef4-repository-part-3-fine-tuning-the-repository/" rel="nofollow noreferrer">Agile EF4 Repository: Part 3 -Fine Tuning the Repository</a> </li> <li><a href="http://thedatafarm.com/blog/data-access/agile-ef-4-repositories-part-4-compiled-linq-queries/" rel="nofollow noreferrer">Agile EF 4 Repositories Part 4: Compiled LINQ Queries</a> </li> <li><a href="http://thedatafarm.com/blog/data-access/agile-entity-framework-4-repository-part-5-iobjectset/" rel="nofollow noreferrer">Agile Entity Framework 4 Repository Part 5: IObjectSet and Include</a> </li> </ol> <p>She explains very well how to build the repository pattern with EF4 to let you mock that. There are also T4 Template, but that will let you understand how all that works. Without the adapted T4 Template, it is still quite a lot of work to have it up and running, but I find it a very good exercise. :) I'm in fact implementing it myself right now.</p> <p>Good luck ;)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload