service Key in module com::sun::star::sdbcx::

(Global Index)

Syntax

service Key;

Description

is used to define a new key for a table.

See also

Key

Included Services

com::sun::star::sdbcx::Descriptor

Description

is used to create a new object within a database.


Exported Interfaces

com::sun::star::sdbcx::XColumnsSupplier

Description

access to the contained key columns.


Property Summary

Type indicates the type of the key.

ReferencedTable is the name of the referenced table, only used for foreign keys.

UpdateRule is the rule which is applied for updates; only used for foreign keys.

DeleteRule is the rule which is applied for deletions; only used for foreign keys.

Property Details



Type

Syntax

long Type;

Description

indicates the type of the key.

See also

KeyType

ReferencedTable

Syntax

string ReferencedTable;

Description

is the name of the referenced table, only used for foreign keys.


UpdateRule

Syntax

long UpdateRule;

Description

is the rule which is applied for updates; only used for foreign keys.

See also

KeyRule;

DeleteRule

Syntax

long DeleteRule;

Description

is the rule which is applied for deletions; only used for foreign keys.

See also

KeyRule;
Top of Page