Re: Multiple one-to-one relationships for a single class

2007-08-31 Thread pength
ECTED]> wrote: > Hello > > Is it possible to have multiple one-to-one relationships for a single > class or is there a better way to do it. > > What I have is an event which has about 12 fields. Optionally any > combination of a single weather record, a single event detail rec

Re: Multiple one-to-one relationships for a single class

2007-08-31 Thread Nis Jørgensen
Malcolm Tredinnick skrev: > On Tue, 2007-08-21 at 21:21 -0700, Catriona wrote: > >> What I have is an event which has about 12 fields. Optionally any >> combination of a single weather record, a single event detail record, >> a single survey record and one of four event subclass records may be

Re: Multiple one-to-one relationships for a single class

2007-08-21 Thread Catriona
Catriona On Aug 22, 2:42 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2007-08-21 at 21:21 -0700, Catriona wrote: > > Hello > > > Is it possible to have multiple one-to-one relationships for a single > > class or is there a better way to do it. > >

Re: Multiple one-to-one relationships for a single class

2007-08-21 Thread Malcolm Tredinnick
On Tue, 2007-08-21 at 21:21 -0700, Catriona wrote: > Hello > > Is it possible to have multiple one-to-one relationships for a single > class or is there a better way to do it. Not at the moment, no. OneToOneFields assume they are going to be the primary key, so you're restricte

Multiple one-to-one relationships for a single class

2007-08-21 Thread Catriona
Hello Is it possible to have multiple one-to-one relationships for a single class or is there a better way to do it. What I have is an event which has about 12 fields. Optionally any combination of a single weather record, a single event detail record, a single survey record and one of four