## 18 EOAdaptor class ¶

### 18.1 overview ¶

An adaptor abstracts the difference between different database implementations. It can connect to the database with the help of a connection dictionary and create and execute SQL statements.

While an adaptor is made up of many different classes. The EOAdaptor class is sort of an entry point into the different available classes.

And a typical use for the EOAdaptor class is creating an instance of a specific adaptor, either by name or through the adaptor name in a model.

Typical methods for the EOAdaptor class are:

1. -createAdaptorContext
2. -runLoginPanel
3. -assertConnectionDictionaryIsValid
4. +adaptorWithModel: