工厂方法在构建通用数据库访问层中的应用  

Application of Factory Method Pattern in Creating General Database Access Layer

在线阅读下载全文

作  者:白景波[1] 戴成友[1] BAI Jing-bo,DAI Cheng-you (Engineering Institute of Engineering Corps,PLA University of Science & Technology,Nanjing 210007,China)

机构地区:[1]解放军理工大学工程兵工程学院,江苏南京210007

出  处:《电脑知识与技术》2008年第4期177-179,共3页Computer Knowledge and Technology

摘  要:本文简要介绍了工厂方法(Factory Method)模式的优点及其使用方法,基于工厂方法模式,完成了一个通用数据库访问层的设计与实现。通过运用这项技术,可提高项目灵活性和可扩展性,减小项目的相关风险系数,为项目以后的升级或移植作好了前期的准备。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.

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

分 类 号:TP311[自动化与计算机技术—计算机软件与理论;自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象