# About Inheriting and Overriding Domain Attribute Settings

In the Domain Wizard and Editor, you can specify attribute settings so that all attributes of that domain type inherit those settings. Attributes may further restrict domain settings, but may not make them less restrictive. For example, a domain could be marked Persistent, meaning no transient attribute can be of that domain type.

The following table lists what settings you can override in an attribute when you choose a domain as a data type, and the domain has specified a setting. Note that at the view level, persistent and entity-derived attributes inherit settings from the entity level.

Attribute Setting | Persistent Attribute (entity level) | Transient Attribute (entity level) | Transient Attribute (view level) | SQL-Derived Attribute (view level)
Attribute Type | Choose the domain. | Choose the domain. | Choose the domain. | Choose the domain.
Default Value | The default value is inherited and cannot be changed. | The default value is inherited and cannot be changed. | N/A | N/A
Primary Key | If selected in domain, cannot be changed. | If selected in domain, cannot be changed. | N/A | N/A
Mandatory | If selected in domain, cannot be changed. | If selected in domain, cannot be changed. | N/A | N/A
Persistent | If specified in domain, must be selected. | If specified in domain, must be deselected. | N/A | N/A
Updateable | If selected in domain, the updateability can be restricted further. | If selected in domain, the updateability can be restricted further. | If selected in domain, the updateability can be restricted further. | If selected in domain, the updateability can be restricted further.
Refresh After | If selected in domain, cannot be changed. | N/A | N/A | N/A
Column Type | The domain data type must map to the table data type. | N/A | N/A | N/A
Queriable | If selected in domain, cannot be changed. | N/A | N/A | If selected in domain, can be changed.
Unique | If selected in domain, cannot be changed. | N/A | N/A | N/A