TDADriverForeignKey

Overview

The TDADriverForeignKey class represents a single foreign key in the foreign key collection.

The TDADriverForeignKey class is used as part of the TDADriverForeignKeyCollection in Schema Modeler to get the foreign key collection of the specified connection.

You do not need to use this class directly, although this class can be used while getting a specified custom Foreign Key collection in the custom Schema diagram.

Location

 

FKField

Represents the foreign key field name.

property FKField: string read write

FKTable

Represents the foreign key table name.

property FKTable: string read write

Name

Represents the foreign key name.

property Name: string read write

PKField

Represents the primary key field name.

property PKField: string read write

PKTable

Represents the primary key table name.

property PKTable: string read write

QueryInterface  protected stdcall    (declared in TInterfacedCollectionItem)

Returns a reference to a specified interface if the object supports that interface. This is one of the methods introduced by the IUnknown interface.

function QueryInterface(const IID: TGUID; out Obj: ): HResult

Parameters:

  • IID: Identifier of the interface to return
  • Obj: Variable to store the returned interface reference to

 

FKField

Represents the foreign key field name.

property FKField: string read write

FKTable

Represents the foreign key table name.

property FKTable: string read write

Name

Represents the foreign key name.

property Name: string read write

PKField

Represents the primary key field name.

property PKField: string read write

PKTable

Represents the primary key table name.

property PKTable: string read write

 

QueryInterface  protected stdcall    (declared in TInterfacedCollectionItem)

Returns a reference to a specified interface if the object supports that interface. This is one of the methods introduced by the IUnknown interface.

function QueryInterface(const IID: TGUID; out Obj: ): HResult

Parameters:

  • IID: Identifier of the interface to return
  • Obj: Variable to store the returned interface reference to

See Also