开发者

Design Pattern to use with Entity Framework Code First

开发者 https://www.devze.com 2023-03-14 07:54 出处:网络
I am working on creating a Technical Design Document for my new project that is being developed using Entity Framework 4.1 Code First.

I am working on creating a Technical Design Document for my new project that is being developed using Entity Framework 4.1 Code First.

I want my DAL to be to be loosely coupl开发者_C百科ed, easily testable and should be able to dynamically inject it using IoC Container...

Thinking of using Repository Pattern. Are there any good resources for reference?

--

Preetham Reddy


See these tutorials: http://www.asp.net/entity-framework/tutorials/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application http://www.asp.net/entity-framework/tutorials/using-the-entity-framework-and-the-objectdatasource-control-part-2-adding-a-business-logic-layer-and-unit-tests


This is a pretty good post.

http://blogs.msdn.com/b/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消