On Apr 10, 2007, at 12:46 PM, Mike Schrag wrote:


EOFetchSpecification fs = EOFetchSpecification.fetchSpecificationNamed("getAllPanels", "LicensePlate");
So instead of doing this, there is a chunk you can add to your eogenerator template that will just give you a
NSArray panels = Panel.getAllPanels();
method,

I assume there is an EC in there somewhere.


which would make it so you would never screw up and pass the wrong entity name into a fetch spec. I basically never use fetch specs directly at this point -- it's always done through an entity wrapper via eogenerator templates.

I am curious about this. Do you define all the fetch specs in the model?

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





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

This email sent to [email protected]

Reply via email to