File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / UniqueKey / UniqueKey_oracle / UniqueKey.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:47 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.