NoForeignKeyAttribute Class
Disables automatic creation of foreign key constraints for an association.
Declaration
NoForeignKeyAttribute = class(
TCustomAttribute
)
Remarks
Foreign keys preserve referential integrity in a relational database. A lack of referential integrity in a database can lead to errors or returning incomplete data without any indication of an error. To enforce the data integrity at the database level, we recommend that you leave automatic creation of the foreign key constraints enabled (or always add them manually).
Inheritance
TObject
TCustomAttribute
NoForeignKeyAttribute
See Also