|
|
1.1 root 1: #import <eoaccess/eoaccess.h>
2:
3:
4: @interface UniqueKey:NSObject
5: {
6: unsigned int keyCount;
7: int nextKey;
8: int maxKey;
9: EODatabaseContext *dbContext;
10: EODatabaseChannel *dbChannel;
11: EOEntity *uniqueKeyEntity; // where maxKey for each entity is stored
12: EOGenericRecord *tableMax;
13: }
14:
15: + setConnectionDictionary:(NSDictionary *)connectionDictionary;
16: - initWithEntity:(EOEntity*)entity count:(unsigned int)keyCount;
17: - (int) nextKey;
18:
19: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.