Assembly: Db;
Namespace: Prognoz.Platform.Interop.Db;
The ITableForeignKeys interface is used to work with a collection of external keys of a table.
ITableForeignKeys
The ITable.ForeignKeys property returns the collection of external keys of the table.
| Property name | Brief description | |
| Count | The Count property returns the number of external keys in collection. | |
| Item | The Item property returns an external key from a collection by its index. |
| Method name | Brief description | |
| Add | The Add method adds an external key. | |
| Clear | The Clear method clears an external keys collection. | |
| FindById | The FindById method searches for an external key in collection by its identifier. | |
| FindByKey | The FindByKey method searches for the external key in the collection by its personal key. | |
| Remove | The Remove method removes an external key with specified index from collection. | |
| RemoveByKey | The RemoveByKey method removes an external key from the collection by its key. |
See also: