问题:
In OOP Design Patterns, what is the difference between the Repository Pattern and a Service Layer? 在OOP设计模式中,存储库模式和服务层之间有什么区别?
I am working on an ASP.NET MVC 3 app, and am trying to understand these design patterns, but my brain is just not getting it...yet!! 我正在开发一个ASP.NET MVC 3应用程序,我正在尝试理解这些设计模式,但我的大脑还没有得到它......
解决方案:
参考一: https://en.stackoom.com/question/LBZL参考二: https://stackoom.com/question/LBZL