数据访问层设计模式 [英] Data Access Layer design patterns
本文介绍了数据访问层设计模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须使用.NET设计一个数据访问层,它可能使用多个具有相同关系设计的数据库管理系统(Mysql和Sql Server)。
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.
谢谢。
推荐答案
这些模式的列表也在他的网站
A list of the patterns is also on his website
DataMapper 模式也是相关的。
这篇关于数据访问层设计模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文