[DISCUSSION] Object Relational Mapping (ORM) - faulting/collections

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Oct 14 11:57:29 CDT 2007


On 14/10/07 6:08 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:

Hi Bart,
Hi Phillip,

>>> You have TWO tables TA and TB.
>>> 
>>> BinaryLink WITH ORDER stored poairs of RecIDs of these 2 tables.
>>>     nothing more.
>>> 
>>> It not stores OID...
>>> 
>>> It seems you ask me if its psosibe to have such BinaryLink based
>>> on OIDs.
>>> Technically yes. But if it have sense? I have not think about this
>>> way yet.
>> 
>> I don't know for your internal design. But for me this is the only
>> thing that makes sense.
>> I can put into a collection whatever object I want. Not only
>> objects of one type.
> 
> 
> Would this setup not mean that one only needs one (1) BINARY link for
> all his needs( within that db)
> 
> Since you can link with an OID pair anything to anything you don't
> need to define more than one binary link for a given database

Very interesting idea and point :)

    One big Universal collection.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Although note, usually we want find Phones/Cars/Children/Parents/... Of a
PERSON.

But still can easy work with Universal Collection:

    For Person RecId
        find all linked PHONES

KIND of object is defined by TableID.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list