Link Modes Between Feature Type and Table/Query

Constant

Link mode

Restrictions

Can change

gdbLinkUniq

Unique link. A feature can be connected only with one record of GDB table.

For GDB tables only.

Can be changed to gdbLinkMulti.

gdbLinkMulti

Multiple link. A feature can be connected with multiple records of GDB table.

For GDB tables only.

Can be changed to gdbLinkUniq only if there are no features connected with records of GDB table.

gdbLinkDirect

Direct link. An integer field (precision is not less than 10 decimal digits) of a table or query of external database contains an internal number of a feature of specified type.

The connection between features and records of a table or query is based on the value of this field.

For tables or queries of external database only

Can be changed to gdbLinkIndirect. After changing the link mode, the DataLink::DirectField property takes Null. You should set a cross table by the DataLink::CrossTable method, create objects IndirectFieldsPair and add them to the collection DataLink::IndirectFieldsPairs.

gdbLinkIndirect

Indirect link. The connection is performed through a GDB cross table linked with a feature type (link mode is unique). A group of fields from a table or query of external database is associated with a group of fields from a cross table. Associated fields must be matched by type.

The connection between features and records of a table or query of external database is performed by values of the specified group of fields. Upon these values, a record from the cross table is determined and then a feature connected with this record.

For tables or queries of external database only

Can be changed to gdbLinkDirect. After changing the link mode, the DataLink::CrossTable property takes Null and the DataLink::IndirectFieldsPairs collection becomes empty. You should set a field of direct link by the DataLink::DirectField property.

gdbLinkNone

A link mode is not set. This is the default value of the DataLink::LinkCategory property.

Setting is not allowed.

If the table being linked is a table of GDB, the link mode can be changed to gdbLinkUniq or gdbLinkMulti. If the table or query being linked belongs to an external database, the link mode can be changed to gdbLinkDirect or gdbLinkIndirect.