Objective-C
[editingContext objectsForEntityNamed:entityName];Java
EOUtilities.objectsForEntityNamed(editingContext, entityName);Both versions of the method require an editing context into which the objects should be fetched. In Objective-C, the editing context is the receiver of the message. In Java, the editing context must be passed as an argument.
Note: The Objective-C source code for EOUtilities is available as an example. On Rhapsody systems, see /System/Developer/Examples/EnterpriseObjects/Sources/EOUtilities. On NT, see NEXT_ROOT/Developer/Examples/EnterpriseObjects/Sources/EOUtilities.
The complete documentation for the Objective-C EOUtilities methods are documented in the "EOEditingContext Additions" class specification (EOAccess). The corresponding Java EOUtilities API documentation is available in the EOUtilities class specification (EOAccess). The following tables summarize the EOUtilities methods.
Note: All the Java EOUtilities methods are static methods.
Supporting Convenience Methods
The following tables describe the remainder of the convenience API.
EOModelGroup | |
---|---|
storedProcedureNamed: | Returns the stored procedure identified by the provided name. |
Table of Contents Next Section