Commit Graph
1 Commits
Author SHA1 Message Date
Claude 99e18b2e53 Add the OLE DB consumer templates and COleDBRecordView
atldbcli.h: CDataSource (by class ID or ProgID, with property sets,
through the service components or an initialization string) and
CSession with transactions; CTable and CCommand (command text in either
width or DEFINE_COMMAND's, parameters, rows affected, multiple
results); CAccessor over classes with BEGIN_COLUMN_MAP,
BEGIN_ACCESSOR_MAP and BEGIN_PARAM_MAP and the COLUMN_ENTRY forms,
CDynamicAccessor, CDynamicStringAccessor, CManualAccessor and
CNoAccessor; CRowset (moving both ways, GetData and SetData, Insert,
Delete, Update and Undo) and CNoRowset; CDBPropSet, CDBPropIDSet and
CDBErrorInfo.

afxoledb.h: COleDBRecordView, a form view over a CRowset<> that moves
with the record commands and writes the form back to the row.

tests/oledbtest drives both against an OLE DB provider written in the
test, and checks that every object, row handle and accessor is
released. Windows only: the portable layer has no OLE DB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs
2026-11-20 14:14:57 +00:00