ERXGeneratesPrimaryKeyInterface Interface Reference

Inherited by ERXCustomObject, and ERXGenericRecord.

List of all members.

Public Member Functions

NSDictionary primaryKeyDictionary (boolean inTransaction)


Detailed Description

Enterprise objects that need to generate their own primary keys should implement this interface. This interface works in conjunction with the ERXDatabaseContextDelegate.

Note that ERXGenericRecord implements a default implementation of this interface.

Member Function Documentation

NSDictionary primaryKeyDictionary ( boolean  inTransaction  ) 

This method is called by the ERXDatabaseContextDelegate when in the middle of a transaction. This is signaled by passing in the boolean true into the method. If the object returns null then a new primary key is generated.

Implemented in ERXCustomObject, and ERXGenericRecord.


The documentation for this interface was generated from the following file:

Generated on Sat May 26 06:43:10 2012 for Project Wonder by  doxygen 1.5.8