Re: set a PK to a virtual Entity
Re: set a PK to a virtual Entity
- Subject: Re: set a PK to a virtual Entity
- From: Chuck Hill <email@hidden>
- Date: Tue, 09 Apr 2013 09:09:38 -0700
Hi Raymond,
I think that we need a more detailed description of what you are trying to do. It sounds either like you are setting a to-one relationship, or what you want to do is not possible. Have you looked at the Role Pattern? That may be a better solution for your problem.
http://hillside.net/plop/plop97/Proceedings/riehle.pdf
Chuck
On 2013-04-09, at 8:04 AM, Raymond NANEON wrote:
> Hi List,
>
> I have an entity in my virtual model that can take the indentity (person, company etc...) of any other entity.
> So I wonder how set primary key of the entity it represents at moment T?
>
> I Have all time for the virtual entity pk is null.
>
> Thanks for your help
> Envoyé depuis iCloud
> _______________________________________________
> 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
--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services
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/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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