I want to 开发者_开发知识库build a windosform application using Repository and Unit of Work pattern. Most of existing sample use ObjectContext but I use DbContext. How can I do this?
This is for web, but could be altered quite easily for win forms: Entity Framework 4 CTP 4 / CTP 5 Generic Repository Pattern and Unit Testable
精彩评论