[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true)] public class DomainComponentAttribute : Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=True)> Public Class DomainComponentAttribute Inherits Attribute
Participation in generation of the Application Model means that the BOModel node will expose a child node corresponding to the DomainComponentAttribute target. The Views node will contain ListView and DetailView nodes for the DomainComponentAttribute target.
You do not need to use the DomainComponentAttribute attribute in the following cases:
These classes are collected and registered automatically.
However, the DomainComponentAttribute is required when you declare a non-persistent class and want to display Views of this class in a UI.
When the DomainComponentAttribute is applied to an interface, this interface is considered to be a Domain Component