阅读背景:

有没有人在大型项目中使用生成的实体类?

来源:互联网 

In the NerdDinner example they use a repository pattern to decouple the business from the data layer. But then they use the Linq to SQL generated classes (Dinner specifically) as the entity class used throughout the project. So how decoupled is that really? It’s not like you could easily exchange Linq-to-SQL. In the NerdDinner example they use a repository




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

分享到: