System.Data.OracleClient 命名空间
类
| OracleBFile |
表示托管 OracleBFile 对象,该对象的设计旨在与 Oracle |
| OracleClientFactory |
表示一组方法,这些方法用于创建 Oracle 提供程序的数据源类实现的实例。Represents a set of methods for creating instances of the Oracle provider's implementation of the data source classes. |
| OracleCommand |
表示针对数据库执行的 SQL 语句或存储过程。Represents an SQL statement or stored procedure to execute against a database. 此类不能被继承。This class cannot be inherited. |
| OracleCommandBuilder |
自动生成用于协调 DataSet 的更改与关联数据库的单表命令。Automatically generates single-table commands used to reconcile changes made to a DataSet with the associated database. 此类不能被继承。This class cannot be inherited. |
| OracleConnection |
表示一个到数据库的打开的连接。Represents an open connection to a database. 此类不能被继承。This class cannot be inherited. |
| OracleConnectionStringBuilder |
为创建和管理由 OracleConnection 类使用的连接字符串的内容提供了一种简单方法。Provides a simple way to create and manage the contents of connection strings used by the OracleConnection class. |
| OracleDataAdapter |
表示用于填充 DataSet 和更新数据库的一组数据命令和一个数据库连接。Represents a set of data commands and a connection to a database that are used to fill the DataSet and update the database. 此类不能被继承。This class cannot be inherited. |
| OracleDataReader |
提供从数据源读取数据行的只进流的方法。Provides a way of reading a forward-only stream of data rows from a data source. 此类不能被继承。This class cannot be inherited. |
| OracleException |
当 Oracle 数据库或用于 Oracle 的 .NET Framework 数据提供程序返回警告或错误时生成的异常。The exception that is generated when a warning or error is returned by an Oracle database or the .NET Framework Data Provider for Oracle. 此类不能被继承。This class cannot be inherited. |
| OracleInfoMessageEventArgs |
为 InfoMessage 事件提供数据。Provides data for the InfoMessage event. 此类不能被继承。This class cannot be inherited. |
| OracleLob |
表示存储在 Oracle 服务器上的大型对象二进制 ( |
| OracleParameter |
表示 OracleCommand 的一个参数,还可以是到 DataColumn 的映射。Represents a parameter to an OracleCommand and optionally its mapping to a DataColumn. 此类不能被继承。This class cannot be inherited. |
| OracleParameterCollection |
表示与 OracleCommand 相关的参数集合及其各自到 DataSet 中列的映射。Represents a collection of parameters relevant to an OracleCommand as well as their respective mappings to columns in a DataSet. 此类不能被继承。This class cannot be inherited. |
| OraclePermission |
启用用于 Oracle 的 .NET Framework 数据提供程序,以帮助确保用户具有足够的安全级别来访问 Oracle 数据库。Enables the .NET Framework Data Provider for Oracle to help ensure that a user has a security level adequate to access an Oracle database. |
| OraclePermissionAttribute |
将某安全操作与自定义安全特性相关联。Associates a security action with a custom security attribute. |
| OracleRowUpdatedEventArgs |
为 RowUpdated 事件提供数据。Provides data for the RowUpdated event. 此类不能被继承。This class cannot be inherited. |
| OracleRowUpdatingEventArgs |
为 RowUpdating 事件提供数据。Provides data for the RowUpdating event. |
| OracleTransaction |
表示将在数据库中进行的事务。Represents a transaction to be made in the database. |
结构
| OracleBinary |
表示要存储在数据库中或从数据库中检索的二进制数据的可变长度流。Represents a variable-length stream of binary data to be stored in or retrieved from a database. |
| OracleBoolean |
表示在 Oracle 数据类型之间进行数据库比较操作所返回的值,并公开用于执行数据类型转换的方法。Represents the value returned from a database comparison operation between Oracle data types, and exposes methods used to perform data type conversions. |
| OracleDateTime |
表示日期和时间数据,取值范围从公元前 4712 年 1 月 1 日 到公元 4712 年 12 月 31 日。Represents date and time data ranging in value from January 1, 4712 BC to December 31, 4712 AD. |
| OracleMonthSpan |
表示用月份表示的时间间隔,并对应于 Oracle 9i |
| OracleNumber |
表示要存储在数据库中或从数据库中检索的固定精度和小数位数数值,该数值介于 -10 27 -1 和 10 27 -1 之间。Represents a fixed precision and scale numeric value between -10 27 -1 and 10 27 -1 to be stored in or retrieved from a database. |
| OracleString |
表示要存储在数据库中或从数据库中检索的字符的可变长度流。Represents a variable-length stream of characters to be stored in or retrieved from the database. |
| OracleTimeSpan |
表示时间间隔,并且对应于 Oracle 9i |
枚举
| OracleLobOpenMode |
指定 OracleLob 应以只读模式还是以读/写模式打开。Specifies whether an OracleLob should be opened in read-only or read/write mode. |
| OracleType |
指定字段或属性的数据类型,以用于 OracleParameter。Specifies the data type of a field or property for use in an OracleParameter. |
委托
| OracleInfoMessageEventHandler |
表示将要处理 OracleConnection 的 InfoMessage 事件的方法。Represents the method that will handle the InfoMessage event of an OracleConnection. |
| OracleRowUpdatedEventHandler |
表示将要处理 OracleDataAdapter 的 RowUpdated 事件的方法。Represents the method that will handle the RowUpdated event of an OracleDataAdapter. |
| OracleRowUpdatingEventHandler |
表示将要处理 OracleDataAdapter 的 RowUpdating 事件的方法。Represents the method that will handle the RowUpdating event of an OracleDataAdapter. |
注解
此类类型 System.Data.OracleClient 已弃用,并将在 .NET Framework 的未来版本中删除。This types in System.Data.OracleClient are deprecated and will be removed in a future version of the .NET Framework. 有关详细信息,请参阅Oracle 和 ADO.NET。For more information, see Oracle and ADO.NET.
用于 Oracle 的 .NET Framework 数据提供程序描述了用于访问托管空间中的 Oracle 数据源的类的集合。The .NET Framework Data Provider for Oracle describes a collection of classes for accessing an Oracle data source in the managed space. 使用 OracleDataAdapter 类,您可以填充内存驻留 DataSet ,对其进行查询,并使用它来更新数据源。Using the OracleDataAdapter class, you can fill a memory-resident DataSet, query it, and use it to update the data source.
有关如何使用此命名空间的其他信息,请参阅 OracleDataReader 、 OracleCommand 和 OracleConnection 类。For additional information about how to use this namespace, see the OracleDataReader, OracleCommand, and OracleConnection classes.
备注
有关使用 .NET Framework 进行编程时使用此命名空间的概念信息,请参阅Oracle 和 ADO.NET。For conceptual information about using this namespace when programming with the .NET Framework, see Oracle and ADO.NET.
用于 Oracle 的 .NET Framework 数据提供程序支持多种 Oracle 数据类型,包括 BFILE 、 LOB 和 REF CURSOR 数据类型。The .NET Framework Data Provider for Oracle supports a number of Oracle data types, including the BFILE, LOB, and REF CURSOR data types. 有关在参数中使用 Oracle 数据类型的信息,请参阅 OracleType 。For information about using Oracle data types in parameters, see OracleType.