This article advanced a project which using C# and ADO.Net data access model to exploder Distributed Database System in the .Net environment. Issue a long-distance object, which can fully control the Database on every station host computer, obtain all of the long-distance object from else station in the initialization process of query procedure, so that the client can access long-distance object as local object ,all the messages and command are given to .NET Remoting to process. Through ADO.Net to manipulate the database, C# makes the manipulation of database efficiently、credibility and solves the problem of data consistency in the Distributed database system.% 本文提出了在.Net环境下使用开发语言C#结合ADO.Net数据访问模型来开发分布式数据库系统的方案;在每一个站点的主机都发布一个可以完全控制数据库的远程对象,在查询程序初始化过程中获取所有其他站点发布的远程对象,所有的消息、报文等都交给.NET Remoting对象处理。C#通过ADO.Net对数据库进行操作,使分布式数据库系统中对数据库的各种操作变得高效、可靠,同时十分方便地解决了数据一致性问题。
展开▼