Wikipedia:

Data Access Objects

This article is about the Data Access Objects library from Microsoft, not about the Data Access Object design pattern in object-oriented software design

Definition

Data Access Objects (DAO) is an officially obsolete[1] object oriented programming interface created by Microsoft which allowed Visual Basic and Visual C++ software early versions of Microsoft Access and Visual Basic to use the Jet database engine.[2]

History

DAO were originally called VT Objects. DAO 1.0 came up in November 1992. Later (in version 3.5) it was able to bypass the Jet engine altogether and directly access ODBC data sources, including Microsoft SQL Server and other enterprise database systems. DAO 3.6 was the final version developed by Microsoft. Microsoft says that DAO will not be available in its future 64-bit operating systems.

Design

DAO works by creating a "Workspace" object in which all database operations are performed. The workspace object exists as a session object that exists within a larger database engine object. There are two types of database engines: a Jet database engine object, and an ODBCDirect database engine.

Jet

The Jet database engine object consists of several objects:

  • a workspace object containing
    • a groups and users object
    • a database object containing
      • container objects which consist of
        • containers of objects
        • query definition (QueryDef) objects
        • Recordset objects which are defined by a set of field objects
        • relation objects which show the relationship between different fields in the database
        • table definition (TableDef) objects which consists of fields and indexes of selected fields.
  • a series of error objects

ODBCDirect

The ODBCDirect database engine consists of a workspace object and an errors object. The main differences between this database engine and the Jet database engine are:

  • the workspace object contains only a series of ODBC connection objects
  • the database object consists of a series of recordset objects

The ODBC connection objects consist of QueryDef objects and recordset objects.sdfeer

References

  1. ^ Data Access Technologies Road Map. MSDN (Microsoft). Retrieved on 2007-09-06.
  2. ^ Solomon, Christine (1997). Microsoft Office 97 Developer's Handbook. Microsoft Press, 195-200. ISBN 1-57231-440-0. 

See also

External links


 
 
 

Join the WikiAnswers Q&A community. Post a question or answer questions about "Data Access Objects" at WikiAnswers.

 

Copyrights:

Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Data Access Objects" Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: