ftp.nice.ch/pub/next/developer/resources/adaptors/dbmAdaptor.0.4.NIH.b.tar.gz#/dbmAdaptor-0.4/Documentation/Using.rtf

This is Using.rtf in view mode; [Download] [Up]

Copyright © 1993, 1994 Mike Henry.  All rights reserved.

Using dbmAdaptor with DBKit Applications

Make sure that dbmAdaptor is installed properly before tryng to use it. See  Installing dbmAdaptor for more details on how to install dbmAdaptor at your site.

When building a database model with DBModeler for the first time, pick dbmAdaptor from the list of available adaptors in the "New Model" panel and press the "OK" button. The programs that will use the database-model you are building with DBModeler, such as InterfaceBuilder and the DBKit application you are building with it, will use dbmAdaptor when storing and retreiving data.

Note that initially the database represented by the model built with DBModeler will be empty. Therefore, besides the application written to retreive data from the database, it will be necessary to write an application that will store the data into the database. Of course, both applications need to use the same database (hence the same adaptor) when accessing it.

If you want to modify a database model already built with DBModeler and which uses a different adaptor, then you need to change the value of the Adaptor: field in the DB-Model inspector panel. Make sure and save the changes to the model before exiting. Observe that this will not convert the data stored in the database, from which the model was taken, to a format usable by the new adaptor. The new database represented by the model will be empty at start.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.