Neoview ODBC Drivers Manual (R2.5)

5 Accessing Neoview SQL Data From Microsoft ODBC .NET
Data Provider
The Microsoft .NET framework is a Windows component that supports building and running
applications and XML Web services. For more information about Microsoft .NET framework,
see http://msdn.microsoft.com/en-us/netframework/default.aspx. Neoview Release 2.4 provides
the ability to use the ODBC .NET Data Provider collection of classes.
To access data stored on the HP Neoview data warehousing platform, you can either
Write an application that uses the ODBC API of HP Neoview ODBC Driver for Windows
directly, or
Write an application that uses ODBC .NET Data Provider classes to wrap the ODBC APIs.
ODBC .NET Data Provider Classes
The ODBC .NET Data Provider is an add-on component to the Microsoft .NET Framework. This
provider directly accesses the HP Neoview ODBC Windows Driver. The ODBC .NET Data
Provider describes a collection of classes used to access ODBC data sources and is defined in the
Microsoft System.Data.Odbc namespace. These classes make up the ODBC .NET Data Provider
System.Data.Odbc namespace:
DescriptionClass Name
Represents an SQL statement or stored procedure to execute against a data
source.
OdbcCommand
Automatically generates single-table commands that are used to reconcile
changes made to a DataSet with the associated data source.
OdbcCommandBuilder
Represents an open connection to a data source.OdbcConnection
Provides a simple way to create and manage the contents of connection strings
used by the OdbcConnection class.
OdbcConnectionStringBuilder
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.
OdbcDataAdapter
Provides a way of reading a forward-only stream of data rows from a data
source.
OdbcDataReader
Collects information relevant to a warning or error returned by the data source.OdbcError
Collects all errors generated by the OdbcDataAdapter.OdbcErrorCollection
Exception generated when a warning or error is returned by an ODBC data
source.
OdbcException
Represents a set of methods for creating instances of the ODBC provider's
implementation of the data source classes.
OdbcFactory
Provides data for the InfoMessage event.OdbcInforMessageEventArgs
Provides a list of constants for use with the GetSchema method to retrieve
metadata collections.
OdbcMetaDataCollectionNames
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.
OdbcMetaColumnNames
Represents a parameter to an OdbcCommand and optionally, its mapping to a
DataColumn.
OdbcParameter
Represents a collection of parameters relevant to an OdbcCommand and their
respective mappings to columns in a DataSet.
OdbcParameterCollection
ODBC .NET Data Provider Classes 53