Re: Using EOF without a model
Re: Using EOF without a model
- Subject: Re: Using EOF without a model
- From: Pascal Robert <email@hidden>
- Date: Sun, 17 Mar 2013 21:09:29 -0400
FYI, before sending my email, I did try without a model by simply deleting the model, and I get:
An object store for the entity "PrincipalCollection" could not be found. Verify that the entity is defined in an EOModel, and that the model is installed properly. To see what models are loaded, you can try printing the return value of EOModelGroup.defaultGroup() in your application.
> I would like to build a CalDAV adaptor, but some stuff can't be really done in a model. Example: on certain CalDAV servers, you can act as a proxy (read-only or rw) to other users and in the user's DAV principals. In the user's principals, the calendar-proxy-write-for will have a value like this:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <calendar-proxy-write-for xmlns='http://calendarserver.org/ns/'>
> <href xmlns='DAV:'>/principals/__uids__/4FDFAE18-ED9F-46C4-AC1A-21F75B2B9763/</href>
> <href xmlns='DAV:'>/principals/__uids__/14D3CE99-7FD1-4A04-8808-F46D594EC07F/</href>
> </calendar-proxy-write-for>
>
> So a href points to the URI of another user's principals, and it's a kind of relationship. But a relationship which can't be mapped in the model.
>
> I think doing a CalDAV adaptor would still be useful so that we can use qualifiers, etc., but without a model (the EOs would be classes that I would write manually). But I don't think it's possible to drop the model?
> _______________________________________________
> 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