System.Data.OleDb Namespace

The System.Data.OleDb namespace is the.NET Framework Data Provider for OLE DB.

Remarks

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. Using the OleDbDataAdapter, you can fill a memory-resident DataSet that you can use to query and update the data source.

For information about how to use this namespace, see the OleDbDataAdapter, OleDbDataReader, OleDbCommand, and OleDbConnection classes.

Classes

TypeReason
OleDbCommand

Represents an SQL statement or stored procedure to execute against a data source.

OleDbCommandBuilder

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.

OleDbDataAdapter

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.

OleDbError

Collects information relevant to a warning or error returned by the data source.

OleDbErrorCollection

Collects all errors generated by the .NET Framework Data Provider for OLE DB. This class cannot be inherited.

OleDbException

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.

OleDbInfoMessageEventArgs

Provides data for the OleDbConnection.InfoMessage event. This class cannot be inherited.

OleDbInfoMessageEventHandler

Represents the method that will handle the OleDbConnection.InfoMessage event of an OleDbConnection.

OleDbLiteral

Returns information about literals used in text commands, data values, and database objects.

OleDbMetaDataCollectionNames

Provides a list of constants for use with the GetSchema method to retrieve metadata collections.

OleDbParameter

Represents a parameter to an OleDbCommand and optionally its mapping to a DataSet column. This class cannot be inherited.

OleDbParameterCollection

Represents a collection of parameters relevant to an OleDbCommand as well as their respective mappings to columns in a DataSet.

OleDbPermission

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

Provides data for the OleDbDataAdapter.RowUpdated event.

OleDbRowUpdatedEventHandler

Represents the method that will handle the OleDbDataAdapter.RowUpdated event of an OleDbDataAdapter.

OleDbRowUpdatingEventArgs

Provides data for the OleDbDataAdapter.RowUpdating event.

OleDbRowUpdatingEventHandler

Represents the method that will handle the OleDbDataAdapter.RowUpdating event of an OleDbDataAdapter.

OleDbSchemaGuid

Returns the type of schema table specified by the OleDbConnection.GetOleDbSchemaTable(Guid,Object[]) method.

OleDbTransaction

Represents an SQL transaction to be made at a data source. This class cannot be inherited.

OleDbType

Specifies the data type of a field, a property, for use in an OleDbParameter.