CdbRelation::SetAttributes, GetAttributes Property

Sets or returns a value that indicates one or more characteristics of a CdbRelation object.

Syntax

VOIDSetAttributes(LONG);

LONGGetAttributes(VOID);

Set Parameters

Type Description
LONG A Long that contains one or more of the values described in Remarks.

Remarks

The following are valid values.

Constant Description
dbRelationUnique The relationship is one-to-one.
dbRelationDontEnforce The relationship isn't enforced (no referential integrity).
dbRelationInherited The relationship exists in a non-current database that contains the two linked tables.
dbRelationUpdateCascade Updates will cascade.
dbRelationDeleteCascade Deletions will cascade.