Properties of Domain Relationships

 

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 Relationships.

The properties in the following table are associated with a domain relationship. For information about domain relationships, 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 relationship (public or internal).public
Custom AttributesUsed to add attributes to the source code class that is generated from the domain relationship.<none>
Generates Double DerivedIf True, both a base class and a partial class (to support customization through overrides) is generated. For more information, see Overriding and Extending the Generated Classes.False
Has Custom ConstructorIf True, indicates that a custom constructor is 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 relationship (none, abstract or sealed).<none>
Allows DuplicatesIf True, duplicate links of the domain relationship may be created between the same two elements.False
Base RelationshipsIf the domain relationship is derived, the base relationship of the domain relationship.<none>
Is EmbeddingIf True, the domain relationship is an embedding relationship. If False, the relationship is a reference relationship.<both>
NameThe name of the domain relationship.Current name
NamespaceThe namespace that is affiliated with the domain relationship.Current namespace
NotesInformal notes that are associated with the domain relationship.<none>
DescriptionThe description that is used to document code and is used in the UI of the generated designer.<none>
Display NameThe name that is displayed in the generated designer for the domain relationship.<none>
Help KeywordThe optional keyword that is used to index F1 help for the domain relationship.<none>

Domain-Specific Language Tools Glossary

Show: