TCheckConstraint class
Record-level constraint definition.
Declaration
TCheckConstraint = class(TCollectionItem)Inheritance
- TCheckConstraint
- TCollectionItem
- TPersistent
- TObject
Description
TCheckConstraint can be used to store the definition of a record-level constraint.
It does not enforce the constraint, it only stores the constraint's definition. The constraint
can come from several sources: an imported constraints from the database, usually stored in the
ImportedConstraint property , or a constraint
enforced by the user on a particular dataset instance stored in
CustomConstraintSee also
Properties
CustomConstraint | published | User-defined constraint. |
ErrorMessage | published | Message to display when the constraint is violated. |
FromDictionary | published | True if the constraint is imported from a datadictionary. |
ImportedConstraint | published | Constraint imported from the database engine. |
Methods
Assign | public | Assign one constraint to another. |
Inherited
From TCollectionItem (13)
Changed Collection Create Destroy DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex
From TPersistent (5)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
