home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEMINSYS / INFORMAD.Z / InformixDescription.h < prev    next >
Text File  |  1996-09-09  |  855b  |  27 lines

  1. // InformixDescription.h 
  2. // Copyright (c) 1994, NeXT Software, Inc.  All rights reserved.
  3. //
  4.  
  5. #import <EOAccess/EOAccess.h>
  6. #import "InformixChannel.h"
  7.  
  8. // This category on the InformixChannel implements the methods involved in
  9. // reading an EOModel from the database.
  10.  
  11. @interface InformixChannel (ModelDescription)
  12.  
  13. - (NSString *)informixTableNamesSQL;
  14.     // Return the SQL statement for finding table names. Checks the user
  15.     // default "InformixInformixTableNamesSQL" for an override SQL statement.
  16. - (void)setInformixTableNamesSQL:(NSString *)sql;
  17.     // Change the tableNamesSQL.
  18. - (BOOL)readTypesForEntity:(EOEntity *)entity;
  19. - (BOOL)readTypeForAttribute:(EOAttribute *)attribute;
  20.  
  21. - (NSArray *)describeEntities;
  22. - (NSArray *)describeAttributesForEntity:(EOEntity *)entity;
  23. - (NSArray *)describeRelationshipsForEntity:(EOEntity *)entity;
  24.  
  25. @end
  26.  
  27.