System.Data.OleDb Namespace

System.Data.OleDb 命名空间为 OLE DB .NET Framework数据提供程序。 The System.Data.OleDb namespace is the.NET Framework Data Provider for OLE DB.

OleDbCommand

表示要对数据源执行的 SQL 语句或存储过程。Represents an SQL statement or stored procedure to execute against a data source.

OleDbCommandBuilder

自动生成用于协调对 DataSet 的更改与关联数据库的单表命令。Automatically generates single-table commands that are used to reconcile changes made to a DataSet with the associated database. 此类不能被继承。This class cannot be inherited.

OleDbConnection

表示到数据源的连接是打开的。Represents an open connection to a data source.

OleDbConnectionStringBuilder

为创建和管理由 OleDbConnection 类使用的连接字符串的内容提供了一种简单方法。Provides a simple way to create and manage the contents of connection strings used by the OleDbConnection class.

OleDbDataAdapter

表示一组数据命令和一个数据库连接,它们用于填充 DataSet 和更新数据源。Represents a set of data commands and a database connection that are used to fill the DataSet and update the data source.

OleDbDataReader

提供从数据源读取数据行的只进流的方法。Provides a way of reading a forward-only stream of data rows from a data source. 此类不能被继承。This class cannot be inherited.

OleDbEnumerator

提供用于枚举本地网络中所有可用 OLE DB 提供程序的机制。Provides a mechanism for enumerating all available OLE DB providers within the local network.

OleDbError

收集与数据源返回的警告或错误有关的信息。Collects information relevant to a warning or error returned by the data source.

OleDbErrorCollection

收集用于 OLE DB 的 .NET Framework 数据提供程序生成的所有错误。Collects all errors generated by the .NET Framework Data Provider for OLE DB. 此类不能被继承。This class cannot be inherited.

OleDbException

在基础提供程序返回 OLE DB 数据源的警告或错误时引发的异常。The exception that is thrown when the underlying provider returns a warning or error for an OLE DB data source. 此类不能被继承。This class cannot be inherited.

OleDbFactory

表示一组方法,这些方法用于创建 OLEDB 提供程序实现数据源类的实例。Represents a set of methods for creating instances of the OLEDB provider's implementation of the data source classes.

OleDbInfoMessageEventArgs

InfoMessage 事件提供数据。Provides data for the InfoMessage event. 此类不能被继承。This class cannot be inherited.

OleDbMetaDataCollectionNames

提供一个常数列表,该列表与 GetSchema 方法一起使用以检索元数据集合。Provides a list of constants for use with the GetSchema method to retrieve metadata collections.

OleDbMetaDataColumnNames

提供静态值,这些值用于 OleDbMetaDataCollectionNames 中包含的 DataTable 对象的列名称。Provides static values that are used for the column names in the OleDbMetaDataCollectionNames objects contained in the DataTable. DataTable 由 GetSchema 方法创建。The DataTable is created by the GetSchema method.

OleDbParameter

表示 OleDbCommand 的参数,还可以表示它到 DataSet 列的映射。Represents a parameter to an OleDbCommand and optionally its mapping to a DataSet column. 此类不能被继承。This class cannot be inherited.

OleDbParameterCollection

表示与 OleDbCommand 相关的参数的集合以及它们各自到 DataSet 中列的映射。Represents a collection of parameters relevant to an OleDbCommand as well as their respective mappings to columns in a DataSet.

OleDbPermission

启用.NET Framework 数据提供程序用于 OLE DB 来帮助确保用户具有足够的权限访问的 OLE DB 数据源的安全级别。Enables the .NET Framework Data Provider for OLE DB to help make sure that a user has a security level sufficient to access an OLE DB data source.

OleDbPermissionAttribute

将某安全操作与自定义安全特性相关联。Associates a security action with a custom security attribute.

OleDbRowUpdatedEventArgs

RowUpdated 事件提供数据。Provides data for the RowUpdated event.

OleDbRowUpdatingEventArgs

RowUpdating 事件提供数据。Provides data for the RowUpdating event.

OleDbSchemaGuid

返回由 GetOleDbSchemaTable(Guid, Object[]) 方法指定的架构表类型。Returns the type of schema table specified by the GetOleDbSchemaTable(Guid, Object[]) method.

OleDbTransaction

表示要在数据源进行的 SQL 事务。Represents an SQL transaction to be made at a data source. 此类不能被继承。This class cannot be inherited.

枚举

OleDbLiteral

返回有关文本命令、数据值和数据库对象中使用的文本的信息。Returns information about literals used in text commands, data values, and database objects.

OleDbType

指定字段的数据类型、属性,以便在 OleDbParameter 中使用。Specifies the data type of a field, a property, for use in an OleDbParameter.

委托

OleDbInfoMessageEventHandler

表示将要处理 OleDbConnectionInfoMessage 事件的方法。Represents the method that will handle the InfoMessage event of an OleDbConnection.

OleDbRowUpdatedEventHandler

表示将要处理 OleDbDataAdapterRowUpdated 事件的方法。Represents the method that will handle the RowUpdated event of an OleDbDataAdapter.

OleDbRowUpdatingEventHandler

表示将要处理 OleDbDataAdapterRowUpdating 事件的方法。Represents the method that will handle the RowUpdating event of an OleDbDataAdapter.

注解

OLE DB 的.net Framework 数据提供程序描述用来访问托管空间中的 OLE DB 数据源类的集合。The.NET Framework Data Provider for OLE DB describes a collection of classes used to access an OLE DB data source in the managed space. 使用OleDbDataAdapter,可以填充驻留在内存中的DataSet可用于查询和更新数据源。Using the OleDbDataAdapter, you can fill a memory-resident DataSet that you can use to query and update the data source.

有关如何使用此命名空间的信息,请参阅OleDbDataAdapterOleDbDataReaderOleDbCommand,和OleDbConnection类。For information about how to use this namespace, see the OleDbDataAdapter, OleDbDataReader, OleDbCommand, and OleDbConnection classes.