company logo

Property :: currentKeyDefinition - Current key definition property

The property provides the type definition for the primary or identifying key for the type definition of the instance currently selected in the property handle.

When no instance is selected in the property handle, the function returns the primary key for the property handle. When no primary key is defined, the function throws an exception.

For fixed typed collections, the primary key for the property is the same as the primary key for the currently selected instance, i.e.primaryKeyDefinition() could be called instead.

Return value:  Key definition ( odaba::TypeDefinition  )

A key definition is a type definition for a key defined as projection of a complex data type.

Implementation details

const odaba::TypeDefinition Property  :: currentKeyDefinition (  )