ITableForeignKeys

Assembly: Db;

Namespace: Prognoz.Platform.Interop.Db;

Description

The ITableForeignKeys interface is used to work with a collection of external keys of a table.

Inheritance Hierarchy

          ITableForeignKeys

Comments

The ITable.ForeignKeys property returns the collection of external keys of the table.

Properties

  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.

Methods

  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:

Db Assembly Interfaces