Skip to content

Commit 8a07e5c

Browse files
author
mikeblome
committed
fixed a typo and added a bullet in top data page
1 parent 34b632f commit 8a07e5c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/data/data-access-programming-mfc-atl.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ translation.priority.ht:
3939
# Data Access Programming (MFC/ATL)
4040
Over the years, Visual C++ has provided several ways to work with databases. Currently, the preferred way to connect to databases in native C++ is to use ODBC directly by calling ODBC APIs, or by using the MFC ODBC wrapper classes, or by using a third-party C++ wrapper library for ODBC. The OLE DB standard, and the ATL OLE DB classes and templates are still supported, but the OLE DB provider for SQL Server has been deprecated since SQL Server 2012. The SQL Native Client component, which packages OLE DB and ODBC drivers in a single DLL, is also deprecated. New C++ applications that connect to SQL Server or Azure SQL Database should use the most recent ODBC driver. Microsoft provides versions of this driver for MacOS and Linux in addition to Windows. By using ODBC you gain maximum portability of your code over multiple platforms and data sources. Most SQL database products and many NoSQL products support ODBC.
4141

42-
If you use C++/CLI, you can continued to use ADO.NET as always. For more information, see [Data Access Using ADO.NET (C++/CLI)](../dotnet/data-access-using-adonet-cpp-cli.md), and [Accessing data in Visual Studio](/visualstudio/data-tools/accessing-data-in-visual-studio).
42+
If you use C++/CLI, you can continue to use ADO.NET as always. For more information, see [Data Access Using ADO.NET (C++/CLI)](../dotnet/data-access-using-adonet-cpp-cli.md), and [Accessing data in Visual Studio](/visualstudio/data-tools/accessing-data-in-visual-studio).
4343

4444
The library classes support the following kinds of data access:
4545

46-
- ATL provides OLE DB templates and database attributes. OLE DB is based on the COM specification, and is only supported on Windows. Use these classes and templates only when maintaining existing applications that connect to Access or data sources other than SQL Server; for example Oracle provides an OLE DB interface. If you are using these classes to connect to SQL Server, you should migrate to ODBC in the near future.
46+
- ATL provides OLE DB templates and database attributes. OLE DB is based on the COM specification, and is only supported on Windows. Use these classes and templates only when maintaining existing OLE DB applications. If you are using these classes to connect to SQL Server, you should migrate to ODBC in the near future.
4747

48-
- MFC provides Open Database Connectivity (ODBC) and Data Acess Objects (DAO) wrapper classes. DAO is obsolete. Any code based on CDaoDatabase or CDaoRecordset should be upgraded to use ODBC.
48+
- MFC provides Open Database Connectivity (ODBC) and Data Acess Objects (DAO) wrapper classes. DAO is obsolete. Any code based on CDaoDatabase or CDaoRecordset should be upgraded to use ODBC.
49+
50+
- The ADO and RDO technologies are obsolete and any code that uses them should be upgraded to ODBC or ADO.NET.
4951

5052

5153

0 commit comments

Comments
 (0)