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

%Library.ConstraintForeignKey


class %Library.ConstraintForeignKey extends
%ConstraintAbstract

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5


Summary


Methods
Check Delete Update


Methods


• 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