Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
The System.Data.Odbc namespace is the .NET Framework Data Provider for ODBC.
The .NET Framework Data Provider for ODBC describes a collection of classes used to access an ODBC data source in the managed space. Using the OdbcDataAdapter class, you can fill a memory-resident DataSet, which you can use to query and update the data source.
For additional information about how to use this namespace, see the OdbcDataReader, the OdbcCommand, and the OdbcConnection classes. For conceptual information about using this namespace when programming with the .NET Framework, see "Accessing Data with ADO.NET".
Namespace hierarchy
Classes
| Class |
Description |
| OdbcCommand |
Represents an SQL statement or stored procedure to execute against a data source. This class cannot be inherited. |
| OdbcCommandBuilder |
Automatically generates single-table commands used to reconcile changes made to a DataSet with the associated data source. This class cannot be inherited. |
| OdbcConnection |
Represents an open connection to a data source. |
| OdbcDataAdapter |
Represents a set of data commands and a connection to a data source that are used to fill the DataSet and update the data source. This class cannot be inherited. |
| OdbcDataReader |
Provides a way of reading a forward-only stream of data rows from a data source. This class cannot be inherited. |
| OdbcError |
Collects information relevant to a warning or error returned by the data source. This class cannot be inherited. |
| OdbcErrorCollection |
Collects all errors generated by the OdbcDataAdapter. This class cannot be inherited. |
| OdbcException |
The exception that is generated when a warning or error is returned by an ODBC data source. This class cannot be inherited. |
| OdbcInfoMessageEventArgs |
Provides data for the InfoMessage event. This class cannot be inherited. |
| OdbcParameter |
Represents a parameter to an OdbcCommand and optionally, its mapping to a DataColumn. This class cannot be inherited. |
| OdbcParameterCollection |
Represents a collection of parameters relevant to an OdbcCommand as well as their respective mappings to columns in a DataSet. This class cannot be inherited. |
| OdbcPermission |
Enables the .NET Framework Data Provider for ODBC to ensure that a user has a security level adequate to access an ODBC data source. This class cannot be inherited. |
| OdbcPermissionAttribute |
Associates a security action with a custom security attribute. |
| OdbcRowUpdatedEventArgs |
Provides data for the RowUpdated event. This class cannot be inherited. |
| OdbcRowUpdatingEventArgs |
Provides data for the RowUpdating event. This class cannot be inherited. |
| OdbcTransaction |
Represents an SQL transaction to be made at a data source. This class cannot be inherited. |
Delegates
Enumerations
| Enumeration |
Description |
| OdbcType |
Specifies the data type of a field, property, for use in an OdbcParameter. |
See Also
.NET Framework Class Library