Hi Fabio,
to clear things:
I use GUID's as my PrimaryKey in all of my Tables.
ForeignKey means the ID of one of the enitiy's wich can hold a
'Notiz'.

So, with my understanding of RDBMS i should be able to write a query
like this:
Select * from Notiz where Foreignkey = IdOfAnyOtherEntity.

Where 'IdOfAnyOtherEntity' can be the ID of any other entiy that can
hold a 'Notiz'.

So, for example, i have my Customer, i take the PK of the selected
Custumer, run the above query, and should get a list of all 'Notizen'
related to this Customer.

Thanks
Peter




On 28 Nov., 12:51, Fabio Maulo <[email protected]> wrote:
> 2009/11/28 Peter Forstmeier <[email protected]>
>
> >            Map(x => x.Foreignkey);   !!!!!!!!!!! Foreign key to
> > other
> > Domains.
> >                }
>
> No, what you need is the OID and the object type. If you are mapping "Notiz"
> as child of multiple entity you need multiple columns not only for ORM
> meaning but even for RDBMS meaning.
>
> --
> Fabio Maulo

--

You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.


Reply via email to