|
|
Sample Programs from NeXSTEP 3.3
#import <eoaccess/eoaccess.h>
@interface UniqueKey:NSObject
{
unsigned int keyCount;
int nextKey;
int maxKey;
EODatabaseContext *dbContext;
EODatabaseChannel *dbChannel;
EOEntity *uniqueKeyEntity; // where maxKey for each entity is stored
EOGenericRecord *tableMax;
}
+ setConnectionDictionary:(NSDictionary *)connectionDictionary;
- initWithEntity:(EOEntity*)entity count:(unsigned int)keyCount;
- (int) nextKey;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.