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

用C#.NET设计与实现三种数据库接口的统一模式
引用本文:李文军,朱战立.用C#.NET设计与实现三种数据库接口的统一模式[J].现代电子技术,2007,30(20):77-79.
作者姓名:李文军  朱战立
作者单位:西安石油大学,计算机学院,陕西,西安,710065
摘    要:目前,在许多工程开发的过程中,都要和数据库相关联。例如:Oracle 9i,SQL Server 2000和Access 2003等。虽然每种数据库与Visual Studio.NET 2003中的C#连接方式多种多样,但也有很多相似之处,可以将相似的地方用统一方法写成实用的接口。这样可以很好地对C#Windows Forms程序和ASP.NET程序进行架构的组织,配合微软最近推出的ASP.NET 2.0版本的架构。可以将数据实体层(即数据库层)、业务逻辑层、界面表示层等进行分类。针对这3种数据库与C#.NET接口的相似性来写一种具有统一模式的接口。

关 键 词:C#.NET  Oracle9i  SQLServer2000  Access2003
文章编号:1004-373X(2007)20-077-03
收稿时间:2007-04-30
修稿时间:2007年4月30日

Design and Realization Three Kinds of Databases Interfaces Unified Pattern with C# . net
LI Wenjun,ZHU Zhanli.Design and Realization Three Kinds of Databases Interfaces Unified Pattern with C# . net[J].Modern Electronic Technique,2007,30(20):77-79.
Authors:LI Wenjun  ZHU Zhanli
Abstract:At present,in many projects development process,they must be connected with the database.For example: Oracle 9i,SQL Server2000 and Access 2,003 and so on.There are various connection ways about each kind of database and VisualStudio.net 2003 C#.But,they are very similar,which may be wrote a practical interface with one unified way.It may organize well in the framework for the procedure of C# Windows From and Asp.net and cooperate with the frame of Asp.net 2.0 that is recommended by Microsoft recently.It may classify for data entity level(database level),business logic level,interface expression level,etc.This article aims at the similarity of the kinds of databases and C#.NET and writes a unified pattern database interface.
Keywords:C#  NET  Oracle 9i  SQL Server 2000  Access 2003
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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