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

工厂方法在构建通用数据库访问层中的应用
引用本文:白景波,戴成友. 工厂方法在构建通用数据库访问层中的应用[J]. 数字社区&智能家居, 2008, 0(4): 177-179
作者姓名:白景波  戴成友
作者单位:解放军理工大学工程兵工程学院,江苏南京210007
摘    要:本文简要介绍了工厂方法(Factory Method)模式的优点及其使用方法,基于工厂方法模式,完成了一个通用数据库访问层的设计与实现。通过运用这项技术,可提高项目灵活性和可扩展性,减小项目的相关风险系数,为项目以后的升级或移植作好了前期的准备。

关 键 词:工厂方法  设计模式:数据库访问层  ADO.NET

Application of Factory Method Pattern in Creating General Database Access Layer
BAI Jing-bo,DAI Cheng-you. Application of Factory Method Pattern in Creating General Database Access Layer[J]. Digital Community & Smart Home, 2008, 0(4): 177-179
Authors:BAI Jing-bo  DAI Cheng-you
Affiliation:(Engineering Institute of Engineering Corps,PLA University of Science & Technology,Nanjing 210007,China)
Abstract:This paper introduces the merits and the use of factory method design pattern, base on factory design pattern, we finished the design and implement of a general database access layer. The use of this technique makes project more flexible and extended, minimizes the relative risk quotiety ,and has been prepared for the further upgrade and transplant of the project.
Keywords:factory method  design patterns  database access layer  ADO.NET
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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