Properties of Domain Classes

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Properties of Domain Classes.

Domain classes have the properties in the following table. For information about domain classes, see Understanding Models, Classes and Relationships. For more information about how to use these properties, see Customizing and Extending a Domain-Specific Language.

PropertyDescriptionDefault
Access ModifierThe level of access of the domain class (public or internal).public
Custom AttributesUsed to add attributes to the source code class that is generated from this domain class.<none>
Generates Double DerivedIf True, both a base class and a partial class (to support customization through overrides) will be generated. For more information, see Overriding and Extending the Generated Classes.False
Has Custom ConstructorIf True, a custom constructor will be provided in the source code. For more information, see Overriding and Extending the Generated Classes.False
Inheritance ModifierDescribes the kind of inheritance of the source code class that is generated from the domain class (none, abstract or sealed).none
Base ClassIf this domain class is derived, the name of the base class.<none>
NameThe name of this domain class.Current name
NamespaceThe namespace of this domain class.Current namespace
NotesInformal notes that are associated with this domain class.<none>
DescriptionThe description that is used to document the UI of the generated designer.<none>
Display NameThe name that will be displayed in the generated designer for this domain class.<none>
Help KeywordThe optional keyword that is used to index F1 help for this domain class.<none>

Domain-Specific Language Tools Glossary

Show: