dotConnect

高性能的 ADO.NET Data Provider,并且支持ORM

以下是 "Universal",如果您需要了解更多信息,您可以联系我们。

dotConnect Universal 为微软 .NET Framework 提供对不同数据库的数据的通用访问。它支持大多数主要的数据库服务器,包括 MS SQL Server、MS Access、Oracle、DB2、MySQL、PostgreSQL、SQLite、InterBase 和 Firebird,其他服务器可以通过它们的 ADO.NET、OLE DB 和 ODBC 提供者来访问。

dotConnect Universal 是基于 ADO.NET 技术,可以以与 SQL Server .NET 数据提供程序相同的方式使用。dotConnect Universal 的主要特点是在同一代码中访问多个数据库服务器。dotConnect Universal 可以避免为不同的提供者编写条件代码,或者直接使用 ADO.NET 接口。dotConnect Universal 充分和 IDE 集成实现了设计时开发,从而大大缩短了开发时间。

dotConnect Universal 不实现所有数据库实现特定于数据库的访问层,它使用本机 ADO.NET 提供程序,并依赖于它们的功能。dotConnect Universal 的专业版包括Oracle、MySQL和PostgreSQL的捆绑数据提供者,对于其他服务器,您需要本地数据提供程序。

dotConnect Universal 提供了连接数据库、执行命令和检索结果的功能。这些结果可以直接处理或放置在ADO.NET数据集中,以便在断开状态下进行进一步处理。而在数据集中,数据可以暴露给用户,与来自多个源的其他数据相结合,或者在层之间远程传递。然后,对数据集中的数据执行的任何处理都可以与数据库进行协调。

下图说明了 dotConnect Universal 架构。绿色区域代表一些 dotConnect Universal 组件,灰色区表示在专业版联合捆绑,图对象的其余部分表示 .NET Framework 内部和外部的数据访问元素。

Image



dotConnect Universal的核心类

  • UniConnection - Establishes a connection to the database server and begins a transaction.
  • UniCommand - Executes SQL statements and stored procedures at database, and exposes parameters.
  • UniDataReader - Exposes and reads a forward-only stream of data from the database.
  • UniDataAdapter - Populates a DataSet and resolves updates with the database.
  • UniTransaction - Manages database transactions.
  • UniParameter - Defines input, output, and return value parameters for commands and stored procedures.
  • UniException - Returned when an error is encountered on a database.

dotConnect Universal 扩展类

  • UniCommandBuilder - A helper object that will automatically generate command properties of UniDataAdapter and populate the UniParameter collection of UniCommand object.
  • UniConnectionStringBuilder - Designed to construct a connection string by assigning values to appropriate properties.
  • UniMonitor - Monitors dynamic SQL execution in applications that use dotConnect Universal.
  • UniProvider - Represents a custom ADO .NET data provider which can be used with dotConnect Universal provider.
  • UniScript - Executes series of SQL statements separated by special symbols.