home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / UniqueKey / UniqueKey_sybase / UniqueKey.h < prev    next >
Encoding:
Text File  |  1995-02-17  |  463 b   |  20 lines

  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
  20.