首页 | 本学科首页   官方微博 | 高级检索  
     

基于设计模式的“.Net”数据库访问接口设计
引用本文:唐鑫,郭永强.基于设计模式的“.Net”数据库访问接口设计[J].重庆工学院学报,2007,21(11):93-97.
作者姓名:唐鑫  郭永强
作者单位:[1]重庆工学院现代教育技术中心,重庆400050 [2]重庆工学院教务处,重庆400050
基金项目:重庆市教委科学技术研究项目(030601)
摘    要:通过对ADO.Net数据访问机制的分析,结合Abstract Factory(抽象工厂)、Factory Method(工厂方法)2种设计模式,阐述了基于“.Net”的数据库访问接口的从分析、设计到实现的开发过程.通过该接口的使用,实现了数据库访问代码的复用,将大大提高应用系统在不同类型数据库间的可移植性。

关 键 词:设计模式  面向对象  ADO.Net  数据库访问
文章编号:1671-0924(2007)06-0093-05
收稿时间:2007-02-10
修稿时间:2007-02-10

Design of Database Access Interface Based on Design Patterns
TANG Xin, GUO Yong-qiang.Design of Database Access Interface Based on Design Patterns[J].Journal of Chongqing Institute of Technology,2007,21(11):93-97.
Authors:TANG Xin  GUO Yong-qiang
Affiliation:1. Modern Education Technology Center; 2. Teaching Affairs Office,Chongqing Institute of Technology, Chongqing 400050, China
Abstract:Through the analysis of the mechanism of access database by ADO. Net and the combination with Abstract Factory, Factory Method, two kinds of Design Patterns, this paper expatiates on the development process of analysis, design and realization of the Database Access Interface based on . Net. With this interface, the refactoring of the code of database access is realized, which will greatly raise the portability of the application system in different kinds of databases.
Keywords:design patterns  object oriented  ADO  Net  database access
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号