public interface ERXGeneratesPrimaryKeyInterface
ERXDatabaseContextDelegate
.
Note that ERXGenericRecord
implements a default implementation
of this interface.
Modifier and Type | Method and Description |
---|---|
NSDictionary<String,Object> |
rawPrimaryKeyDictionary(boolean inTransaction)
This method is called by the ERXDatabaseContextDelegate when
in the middle of a transaction.
|
NSDictionary<String,Object> rawPrimaryKeyDictionary(boolean inTransaction)
true
into the method. If the object
returns null
then a new primary key is generated.inTransaction
- boolean flag to tell the object if it is currently in the
middle of a transactionCopyright © 2002 – 2020 Project Wonder.