I start learning database programming in MFC by using Appwizard. In the middle of Appwizard , I have to choose OLEDB or ODBC.
I observed there are completely two different results for the two options.
For selecting OLEDB, a class is generated. The structure of this class is same as the table in the database. In addition, a recordset class is also generated. This recordset class's base class is "CCommand"
For selecting ODBC, a recordset class is generated. This recordset class's base class is "CRecordSet".
They are very different pictures in these two options.
My questions are :
1. Which one should I learn OLEDB or ODBC?
2. Will OLEDB replace ODBC in future by microsoft?