Declarative mapping definitions based on attributes is primary way of describing mappings
in DataObjects.Net.
There are just ten of such attributes, and they are designed so that a mistake in their application is virtually impossible. In most cases you need only 5 of them — [HierarchyRoot], [Field], [Key], [Association] and [Index]. Furthermore, you can define mappings completely from the code, as well as describe the whole domain model using the same way.
See Modeling Domains in Manual.
← Go back