Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

System.Data.Odbc Namespace

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 that you can use to query and update the data source.

For more information about how to use this namespace, see the OdbcDataReader, OdbcCommand, and OdbcConnection classes.

  Class Description
Public class OdbcCommand Represents an SQL statement or stored procedure to execute against a data source. This class cannot be inherited.
Public class OdbcCommandBuilder Automatically generates single-table commands that are used to reconcile changes made to a DataSet with the associated data source. This class cannot be inherited.
Public class OdbcConnection Represents an open connection to a data source.
Public class OdbcConnectionStringBuilder Provides a simple way to create and manage the contents of connection strings used by the OdbcConnection class.
Public class 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.
Public class OdbcDataReader Provides a way of reading a forward-only stream of data rows from a data source. This class cannot be inherited.
Public class OdbcError Collects information relevant to a warning or error returned by the data source.
Public class OdbcErrorCollection Collects all errors generated by the OdbcDataAdapter. This class cannot be inherited.
Public class OdbcException The exception that is generated when a warning or error is returned by an ODBC data source. This class cannot be inherited.
Public class OdbcFactory Represents a set of methods for creating instances of the ODBC provider's implementation of the data source classes.
Public class OdbcInfoMessageEventArgs Provides data for the InfoMessage event.
Public class OdbcMetaDataCollectionNames Provides a list of constants for use with the GetSchema method to retrieve metadata collections.
Public class OdbcMetaDataColumnNames Provides static values that are used for the column names in the OdbcMetaDataCollectionNames objects contained in the DataTable. The DataTable is created by the GetSchema method.
Public class OdbcParameter Represents a parameter to an OdbcCommand and optionally, its mapping to a DataColumn. This class cannot be inherited.
Public class OdbcParameterCollection Represents a collection of parameters relevant to an OdbcCommand and their respective mappings to columns in a DataSet. This class cannot be inherited.
Public class OdbcPermission Enables the .NET Framework Data Provider for ODBC to help make sure that a user has a security level sufficient to access an ODBC data source. This class cannot be inherited.
Public class OdbcPermissionAttribute Associates a security action with a custom security attribute.
Public class OdbcRowUpdatedEventArgs Provides data for the RowUpdated event.
Public class OdbcRowUpdatingEventArgs Provides data for the RowUpdating event.
Public class OdbcTransaction Represents an SQL transaction to be made at a data source. This class cannot be inherited.
  Delegate Description
Public delegate OdbcInfoMessageEventHandler Represents the method that will handle the InfoMessage event of an OdbcConnection.
Public delegate OdbcRowUpdatedEventHandler Represents the method that will handle the RowUpdated event of an OdbcDataAdapter.
Public delegate OdbcRowUpdatingEventHandler Represents the method that will handle the RowUpdating event of an OdbcDataAdapter.
  Enumeration Description
Public enumeration OdbcType Specifies the data type of a field, property, for use in an OdbcParameter.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.