Available Attributes and Output Settings
Data Transfer Object (DTO) Class model
Framework attributes
The following attributes are defined by default for this framework:
Root document
Serializable
DataContract(IsReference$=$true)
Embedded document
Serializable
DataContract(IsReference$=$true)
Field (all types)
DataMember
Framework settings, Project level
The following settings are defined for this framework:
- Prefix denormalized fields with navigator name
- When set to true (default), a field which is denormalized gets the navigator it is denormalized over as prefix to its name. This is done once. When set to false the field name is left as-is.
- Sync derived element names with source element names
- When set to true (default is false), a field name is synced with the name of its source (e.g. entity field, navigator) if the source's name is changed. If you manually rename the derived element field, it's left alone. When set to false (default) the field name is left as-is.
Defaults at the project level
- Root Derived Element base class name default (string). Default value: empty
- Embedded Derived Element base class name default (string). Default value: empty
Framework settings, per element
Root document
- Base class name (string)
Embedded document
- Base class name (string).
Both base class name settings support the macros {$Name}
and {$FullName}
.
Document Database
Framework attributes
No default attributes are defined for this framework.
Framework settings
The settings for this framework are equal to the DTO Class model framework.