OLE DB Templates

The following OLE DB Templates features are new for Visual C++ 6.0.

Database Access with OLE DB

Using OLE DB Consumer Templates, you can access databases from your program. You can also view data with the new COleDBRecordView MFC class.

OLE DB Consumer and Provider Templates

OLE DB is the newest data-access methodology from Microsoft. It merges the power of COM with data-access technology. Visual C++ now abstracts the COM interfaces by providing OLE DB Templates. These templates make OLE DB much easier to use while providing excellent performance and using native C data types for OLE DB programming. The new COleDBRecordView class is an optional MFC class that wraps the OLE DB Consumer and Provider templates. This class incorporates the OLE DB templates into MFC. See OLE DB Consumer and Provider Templates.

Schema Rowset Classes for Metadata

If you need to get metadata from a data source, you can use the OLE DB consumer template schema rowset classes. These classes encapsulate many of the details that are required for retrieving metadata. See Schema Rowset Support in the OLE DB Templates.

Back to What's New Overview