首页> 中文期刊> 《计算机与数字工程》 >.NET平台分层架构开发中泛型实现通用数据访问层

.NET平台分层架构开发中泛型实现通用数据访问层

         

摘要

基于.NET平台的分层架构项目的开发过程中,数据访问层(Data Access Layer,以下简称DAL)的开发是必不可少的,当项目中存在很多数据表的时候,DAL的开发会成为一个不停编写重复代码的工作,这是非常浪费时间的,通用DAL则能够较好的解决这种问题,而且通用DAL可以在基于.NET平台分层架构开发的项目中进行非常方便的重用.在微软提出泛型之后,类型也可以作为一种参数来进行指定,为实现通用DAL提供了高效可用的技术手段.%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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号