This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %Library.ConstraintForeignKey


class %Library.ConstraintForeignKey extends %Library.ConstraintAbstract

Method Inventory (Including Private)

Methods (Including Private)

classmethod Check(lockonly As %Boolean = 0) as %Status
Method to Check foreign key for existence. If lock is TRUE then the object referenced by the key value is also locked. If the reference does not exist or, if locking is requested and the lock fails then an error message is returned.
classmethod Delete() as %Status
classmethod Update() as %Status
FeedbackOpens in a new window