Am I the only one who writes a direct action class every time I need to do 
EOF-related one-time tasks in my apps, such as DB cleanup, imports, exports etc?

After writing my one-millionth task like this tonight I just realized how 
deeply, horribly wrong it is, and before I start finding better ways on my own 
I thought I'd hear from the community. Can anyone recommend a different way? 
Are people using ERXExtensions.initEOF() or ERXExtensions.initApp() for stuff 
like this? Or something else?

Paraphrased: You have an EOModel and you need to execute a single, one-time 
task using the model (probably throwing the code out afterwards). What do you 
do?

Cheers,
- hugi
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to