Database abstraction layer design - Using IRepository the right way?

后端 未结 5 685
日久生厌
日久生厌 2020-12-12 18:36

I\'m in the process of designing my ASP.NET MVC application and I ran across a couple of interesting thoughts.

Many samples I have seen describe and use the Reposito

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 18:58

    You can find an excellent Generic Repopsitory library that was written to enable it to be used as a WebForms asp:ObjectDataSource on codeplex: MultiTierLinqToSql

    Each of my controllers have private repositories for the actions they need to support.

提交回复
热议问题