Open main menu

Wikibooks β

WebObjects/EOF/Using EOF/Compound Primary Keys

< WebObjects‎ | EOF‎ | Using EOF

Sacha MallaisEdit

Generally avoid them. However, when you need them you can usually use the Propagate Primary Key feature to avoid having to do anything fancy.

Writing a delegate to generate PKs from the database is not a bid deal (see GVCEOFExtensions for an example of an integer PK caching delegate).