Connectivity Automation Objects (CAO)
support the following dbConnect features:
You can also create dbConnect objects.
Beginning with AutoCAD 2002, CAO supports the
following objects, methods, and properties:
methods: CAO objects include the LabelTemplates collection,
LabelTemplate object, Label object, Queries collection, and Query
object, along with their corresponding methods. The KeyDescriptions
and KeyValues collections are independent objects. KeyDescriptions
no longer derives from the LinkTemplate object, and KeyValues no
longer derives from the Link object. The KeyValues Add method
accepts two arguments: field name and value, rather than a single
KeyDescription Type property is now a CAO data type, rather than an
OLEDB data type.
notifications: The DbConnect object uses event
You can find sample code demonstrating the use of CAO in the
AutoCAD sample\Database Connectivity\CAO directory.