As Pete O'Hanlon said, you can. We use the Repository pattern + Unit of Work on the project I'm on right now. While we do use Code First, there is no reason it can't apply to Database First as well. Someone can correct me if I'm wrong, but I don't think the purpose of the Repository pattern was designed specifically for Code First. One advantage of using Repo is testing, another is dependency injection. It's simple to test using a Repository, from what I can tell here. Read some more info here: http://stackoverflow.com/questions/8749153/why-use-repository-pattern-or-please-explain-it-to-me[^]
djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.