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

.NET平台分层架构开发中泛型实现通用数据访问层
引用本文:张金波..NET平台分层架构开发中泛型实现通用数据访问层[J].计算机与数字工程,2012,40(11):73-75.
作者姓名:张金波
作者单位:攀钢集团研究院有限公司科技信息中心 攀枝花617000
摘    要:基于.NET平台的分层架构项目的开发过程中,数据访问层(Data Access Layer,以下简称DAL)的开发是必不可少的,当项目中存在很多数据表的时候,DAL的开发会成为一个不停编写重复代码的工作,这是非常浪费时间的,通用DAL则能够较好的解决这种问题,而且通用DAL可以在基于.NET平台分层架构开发的项目中进行非常方便的重用。在微软提出泛型之后,类型也可以作为一种参数来进行指定,为实现通用DAL提供了高效可用的技术手段。

关 键 词:分层架构  泛型  通用数据访问层  模型对象  松散耦合

Implementation of Universal Data Access Layer by Generic in Layered Architecture Development Based on .NET Platform
ZHANG Jinbo.Implementation of Universal Data Access Layer by Generic in Layered Architecture Development Based on .NET Platform[J].Computer and Digital Engineering,2012,40(11):73-75.
Authors:ZHANG Jinbo
Affiliation:ZHANG Jinbo(Technology and Information Center,PanGang Group Research Institute CO.,LTD,Panzhihua 617000)
Abstract:To programming data access layer is essential in layered architecture software project which based on.NET platform.The work will become a work of writing duplicate code incessantly when there are many tables in the project.It is very waste of time.Universal data access layer can solve this problem well,and it is very easy to be reused in layered architecture software project which based on.NET platform.Type can be specified as a parameter after the generic been proposed by Microsoft.It provides efficient and available technical means for the realization of universal data access layer.
Keywords:layered architecture  generic  universal data access layer  model objects  loosely coupled
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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