Inherits from: NSObject
Conforms to: EOPropertyListEncoding
NSObject (NSObject)
Declared in: EOAccess/EOStoredProcedure.h
An EOStoredProcedure represents a stored procedure defined in a database, and associates a name internal to the Framework with an external name by which the stored procedure is known to the database. If a stored procedure has arguments, its EOStoredProcedure object also maintains a group of EOAttributes which represent the stored procedure's arguments. See the EOAttribute class specification for more information
You usually define stored procedures in your EOModel with the EOModeler application, which is documented in the Enterprise Objects Framework Developer's Guide. EOStoredProcedures are primarily used by the Enterprise Objects Framework to map operations for an EOEntity to stored procedures (see the description for EOEntity's setStoredProcedure:forOperation: method). You can assign stored procedures to an entity for any of the following scenarios:
Your code probably won't use EOStoredProcedures unless you're working at the adaptor level.
Like the other major modeling classes, EOStoredProcedure provides a user dictionary for your application to store any application-specific information related to the stored procedure.
EOPropertyListEncoding- awakeWithPropertyList - encodeIntoPropertyList:
- Creating a new EOStoredProcedure
- - initWithName:
- Accessing the model
- - model
- Accessing the name
- - setName:
- - beautifyName
- - name
- Accessing the external name
- - setExternalName:
- - externalName
- Accessing the arguments
- - setArguments:
- - arguments
- Accessing the user dictionary
- - setUserInfo:
- - userInfo
- (NSArray *)arguments
- (void)beautifyName
See Also: - setArguments:, - beautifyNames (EOModel)
- (NSString *)externalName
See Also: - setExternalName:
- (EOStoredProcedure *)initWithName:(NSString
*)name
See Also: - setName:, - name
- (EOModel *)model
See Also: - addStoredProcedure: (EOModel)
- (NSString *)name
See Also: - setName:, - initWithName:
- (void)setArguments:(NSArray
*)arguments
See Also: - arguments
- (void)setExternalName:(NSString
*)name
See Also: - externalName
- (void)setName:(NSString
*)name
See Also: - name, - initWithName:
- (void)setUserInfo:(NSDictionary
*)dictionary
See Also: - userInfo
- (NSDictionary *)userInfo
See Also: - setUserInfo: