• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

18. ADOX: Jet Data Definition in ADO > 18.1. The ADOX Object Model

The ADOX Object Model

The ADOX object model is shown in Figure 18-1. The model has 9 object pairs (object/collection), about 75 properties, and about 50 methods—not a very large object model as Microsoft object models go (and smaller than the ADO object model). Unfortunately, the ADOX help documentation is among Microsoft’s worst, which is saying a lot.

The ADOX object model
Figure 18-1. The ADOX object model

Let’s now look at some of the more common data-definition operations from the perspective of ADOX.

Creating a Database

To create a Jet database, use the Create method of the Catalog object. Its syntax is:

CatObject.Create(ConnectString)

where ConnectString is a connection string that must also define the database to be created.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint