Binary Link Many-to-Many Owner

Chuck Pelto cbpelto at pcisys.net
Mon May 8 03:38:14 CDT 2006


Hi Again, Ruslan,

In the creation of a binary link in a 1:1 or M:M situation, how does  
one declare which is the owner?

I'm not seeing that specified in the documentation....

Parameter: Description:
inName The name of the link.
inLeftTable Pointer to the Left Table.
inRightTable Pointer to the Right Table.
inLeftPower Link type for the Left Table.
inRightPower Link type for the Right Table.
inOnDelete The behavior on deletion of record-owner.
inStorageType Storage type of the link.
inTemporary TRUE if the link is tempоrary.


The behavior of the link on deletion of a record in the Table-Owner.
- In the case of a 1 : M link, the ONE table is the owner table
- In the other cases (1:1 and M:M) the developer can assign which  
table is to be the owner

...(see page 43 of V4RB Reference 2).

Is it assumed to be the Left Table? The Right Table? Or is there  
another parameter or call that needs to be made?


Regards,

Chuck Pelto


More information about the Valentina mailing list