Multiple or Single Repositories with LINQ

前端 未结 2 780
深忆病人
深忆病人 2020-12-29 14:02

I\'ve been reading Chapter 11 (Testable Design Patterns) in the Professional ASP.NET MVC 1.0 book. In the examples in this chapter, data access is split into a number of rep

2条回答
  •  我在风中等你
    2020-12-29 14:40

    Other factors to consider include the likely lifespan of the product and the likelihood of having to change from LINQ-to-SQL to some other O/R mapper at any point in the lifetime. The smaller the project, the less critical the product, the less you need to worry about abstracting minutae to the nth degree.

提交回复
热议问题