Binary Link onDelete

Bart Pietercil bart.pietercil at gmail.com
Wed May 2 10:05:55 CDT 2007


Hi

this statement generates an Vexception

     aBinaryLink = CreateBinaryLink 
("mm_compcard_functprofile_to_my_competences",Table 
("mm_compcard_functprofile"),Table 
("my_competences"),EVLinkType.kMany,EVLinkType.kMany,EVOnDelete.kCascade 
,EVStorageType.kDisk)

while this one is OK

     aBinaryLink = CreateBinaryLink 
("mm_compcard_functprofile_to_my_competences",Table 
("mm_compcard_functprofile"),Table 
("my_competences"),EVLinkType.kMany,EVLinkType.kMany,EVOnDelete.kDefault 
,EVStorageType.kDisk)


The difference is the EVOnDelete.kDefault is accepted, kCascade is not.

Why ? And what does kDefault mean in a many to many link ?

TIA

Bart Pietercil


More information about the Valentina mailing list