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

基于.NET平台采用ADO.NET实现数据访问层
引用本文:陈谊楠. 基于.NET平台采用ADO.NET实现数据访问层[J]. 电脑编程技巧与维护, 2012, 0(4): 35-36,57
作者姓名:陈谊楠
作者单位:三亚航空旅游职业学院,海南三亚,572000
摘    要:目前传统的Web应用程序访问数据库的方法是SQL代码嵌入在domain/business类中,一旦系统出现改动,就要修改源代码。目前比较通用的方法是SQL代码写在独立的一个或多个数据类中或在存储过程中,这种方法能压缩源代码。提出了通用数据类的概念。采用通用数据类,使程序开发人员摆脱开SQL和事务,达到了快速开发的目的。利用ADO.NET和XML技术实现了数据访问层的思想,并实现了事务集中处理。

关 键 词:ADO.NET  XML  数据访问层  事务处理

Use ADO.NET to Achieve Data Access Layer Based on the .NET Platform
CHEN Yinan. Use ADO.NET to Achieve Data Access Layer Based on the .NET Platform[J]. Computer Programming Skills & Maintenance, 2012, 0(4): 35-36,57
Authors:CHEN Yinan
Affiliation:CHEN Yinan (Sanya Aviation & Tourism College, Hainan Sanya 572000)
Abstract:At present, the traditional Web application access database method is that SQL code embedded in a domain / business class, once the system changes, it is necessary to change the source code. Currently more common method is to write SQL code in a separate one or more data class or in storage the process; such methods can compression of the source code. A universal data class concept comes out. To adopt a universal data class, program development staff breaks free of SQL and business and achieves a purpose of rapid development. It is used AD0.NET and XML technology to achieve a data access layer thinking, and the centralized achievement of business.
Keywords:ADO.NET  XML  data access layer  business achievement
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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