阅读背景:

为服务层设计DI(构造函数注入)的存储库

来源:互联网 

I'm building an MVC3 app, trying to use IoC and constructor injection. My database has (so far) about 50 tables. I am using EF4 (w/ POCO T4 template) for my DAC code. I am using the repository pattern, and each table has its own repository. My service classes in my service layer are injected w/ these repositories.I'm building an MVC3 app, trying to use IoC and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: