Re: editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
Re: editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
- Subject: Re: editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 05 Dec 2011 13:22:00 -0700
setAuxiliaryQualifier()?
Ramsey
On Dec 5, 2011, at 11:27 AM, Fabian Peters wrote:
> 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
_______________________________________________
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