数据访问层的设计模式 [英] Data Access Layer design patterns
本文介绍了数据访问层的设计模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要设计一个数据访问层使用.NET,将可能使用多个数据库管理系统(MySQL和SQL数据库)使用相同的关联设计。
I have to design a Data Access Layer with .NET that probably will use more than one database management system (Mysql and Sql Server) with the same relational design.
基本上,它是简单的切换从一个数据库到另一个,所以我想请你给我推荐一些网页,网站或书籍,一直对您有用,与常见的设计模式的信息一般实行这种数据访问层。
Basically, it has to be simple to switch from one database to another so I would like you to recommend me some web-sites or books that has been useful for you, with common design patterns or information in general to implement this kind of data access layer.
感谢你。
推荐答案
我建议企业应用架构模式由Martin Fowler的。
I recommend Patterns of Enterprise Application Architecture by Martin Fowler.
模式的名单也对他网站
借助 DataMapper的模式也有关。
这篇关于数据访问层的设计模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文