机构地区: 广东警官学院计算机系
出 处: 《微机发展》 2004年第10期52-54,58,共4页
摘 要: 为了实现基于.NET构架的高效数据库访问,文中介绍了基于.NET构架的四种数据访问策略,并解释这些策略对连接数据源的条件限制以及数据库读取方式的内部运行机制。然后给出具体实例,说明如何实现其中的两种策略,并附上机运行结果。最后,比较这些数据访问策略的特点,分析总结出各种策略适用环境。 In order to access to database efficiently based on.NET,this paper describes all of the four strategies of accessing to data source,and these strategies'limits of the connecting data source and explains the mode of inner data reading.Then the instances and their results of the strategies were given to show how to realize two strategies of the four.In the end,how to select the best strategy to adapt to the environment is discussed,via comparing the characteristics of the strategies.
领 域: [自动化与计算机技术] [自动化与计算机技术]