editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
- Subject: editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
- From: Fabian Peters <email@hidden>
- Date: Mon, 05 Dec 2011 19:27:13 +0100
Hi all,
I'm happily using an EC delegate in a multi-tenant app to add restricting qualifiers in editingContextShouldFetchObjects. Now I'd like to make more use of D2W and am looking for an equivalent when dealing with EODataBaseDataSource. I've looked at EODatabaseContext.Delegate's databaseContextShouldSelectObjects, but the documentation says "The delegate should not modify fetchSpec's qualifier or fetch order".
If there's no other way I guess I could subclass EODataBaseDataSource and use ERXPatcher.setClassForName(), but that seems rather drastic?
Fabian _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden