Data Annotations in DC
- 2 minutes to read
Important
Domain Component (DC) interfaces are abstractions above e
This topic provides a list of extra attributes that can be used with Domain Components, in addition to the built-in XAF attributes and XPO attributes from the DevExpress.Xpo namespace.
Attribute | Description |
---|---|
Back | Applied to Domain Component properties participating in a relationship. The attribute’s only parameter specifies the name of the related property in another Domain Component. To see an example of how this attribute is used, refer to the One-to-Many and Many-to-Many Relationships topic. |
Applied to methods. Specifies that a Domain Component’s target method will create Domain Component instances. | |
Applied to classes and interfaces. When applied to an interface, specifies that the interface represents a Domain Component. | |
Applied to classes. Specifies that a target class represents a Domain Logic. | |
Non | Applied to Domain Components and their properties. When applied to a property, specifies that the property will not be persisted to the datastore.
When Non |
Persistent | Applied to Domain Component properties. Functions exactly like the Persistent |