InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > %Library.ConstraintForeignKey


class %Library.ConstraintForeignKey extends %Library.ConstraintAbstract

Method Inventory


classmethod Check(lockonly As %Boolean = 0) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
classmethod Update() as %Status [ Language = objectscript ]