Microsoft KB Archive/321895

From BetaArchive Wiki
Knowledge Base


INFO: ODBC Driver Support Requirements for Use with ODBC .NET Managed Provider

Article ID: 321895

Article Last Modified on 5/26/2005



APPLIES TO

  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Open Database Connectivity 3.7
  • Microsoft Open Database Connectivity 2.0
  • Microsoft Open Database Connectivity 2.1
  • Microsoft Open Database Connectivity 2.5
  • Microsoft Open Database Connectivity 3.0
  • Microsoft Open Database Connectivity 3.5
  • Microsoft Open Database Connectivity 3.51
  • Microsoft Open Database Connectivity 3.6



This article was previously published under Q321895

SUMMARY

The ODBC .NET managed provider is a lightweight layer between .NET applications and ODBC drivers and data sources. Because of this, the ODBC .NET managed provider requires only minimal support of ODBC 2.0 or later.

MORE INFORMATION

When you use the ODBC .NET managed provider (through the Microsoft.Data.Odbc namespace) to open a connection, the SQLGetInfo and the SQLGetFunctions functions are called.

The call to SQLGetInfo requests the ODBC version that the driver supports (InfoType = SQL_DRIVER_ODBC_VER : ODBC 2.0). Later calls are based on those functions that are supported by the ODBC driver in question, as supported through the SQLGetFunctions call.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

313480 INFO: Roadmap for .NET Data Providers



Additional query words: ODBC.NET

Keywords: kbinfo kbmanaged KB321895