Assembly: Db;
Namespace: Prognoz.Platform.Interop.Db;
The ITableForeignKey interface is used to work with external key of the table.
ITableForeignKey
Use the ITableForeignKeys.Add method to create external key.
| Property name | Brief description | |
| AlterType | The AlterType property determines the method of updating the key | |
| Columns | The Columns property determines the table field that is an external key. | |
| ComparedWith | The ComparedWith property determines index of the element, with which external key is compared | |
| IsCascade | The IsCascade property determines whether to remove records from the current table when they are deleted in the linked table. | |
| RColumns | The RColumns property determines the field to which the external key refers. | |
| RTable | The RTable property determines the identifier of the table to which the external key refers. | |
| RTableObject | The RTableObject property determines the table to which the external key refers. |
| Property name | Brief description | |
| The Id property determines object identifier. | ||
| The Key property returns object key. | ||
| The Name property determines object name. |
See also: