ICustomDimAttributes.Primary

Syntax

Primary: ICustomDimAttribute;

Description

The Primary property determines attribute which is dictionary primary key.

Comments

On creating fact dimension which is based on designed dictionary, the attribute with the KEY identifier is created automatically. This attribute has the Identifier purpose and this attribute is also a primary key. Unique primary index is created by primary key. This index is further used to bind fact dimension elements to data source fields.

If required, the attribute which is a primary key can be re-defined in the Primary property.

Example

The property use is given in the example for ICustomDimAttributes.Clear.

See also:

ICustomDimAttributes