Extended Properties

Extended Properties tabs allow enhancing sets of properties for model objects. If necessary, you can add a property set of the specified type for the model objects mentioned below.

Then with the help of the Properties window, you can define Extended Properties values for each particular object and use this value where necessary. For example, during code generation it can be used by code generation template.

Association

Allows adding/removing extended properties for an association of the model. To add a custom property, click the Add button and edit its name, type and default value.

Class

Allows adding/removing extended properties for a class of the model. To add a custom property, click the Add button and edit its name, type and default value. The following properties are template-defined and can't be removed or edited: ConstructorModifier, DoNotGenerateDataContractAttribute, DoNotSerializableAttribute, DoNotImplementClonable, EntityBase, GenerateRepository (this property is added to the Extended properties if the model contains the Repository and Unit of Work template), GenerateController (this property is added to the Extended properties if the model contains the MVC Controller template), GenerateView (this property is added to the Extended properties if the model contains the MVC View Advanced template).

Complex Type

Allows adding extended properties for the complex type of the model. To add a custom property, click the Add button and edit its name, type and default value. The following properties are template-defined and can't be removed or edited: ConstructorModifier, DoNotGenerateDataContractAttribute, DoNotSerializableAttribute.

Enum Type

Allows adding/removing extended properties for an enumerated type of the model. To add a custom property, click the Add button and edit its name, type and default value. The following properties are template-defined and can't be removed or edited: DoNotGenerateDataContractAttribute.

Enum Type Member

Allows adding/removing extended properties for an enum type member of the model. To add a custom property, click the Add button and edit its name, type and default value. The following properties are template-defined and can't be removed or edited: DoNotGenerateDataMemberAttribute.

Context Model

Allows adding extended properties for the context of the model. To add a custom property, click the Add button and edit its name, type and default value. The following properties are template-defined and can't be removed or edited: EntityBase.

Method

Allows adding/removing extended properties for a method of the model. To add a custom property, click the Add button and edit its name, type and default value.

Property

Allows adding/removing extended properties for a class property in the model. To add a custom property, click the Add button and edit its name, type and default value. The following properties are template-defined and can't be removed or edited: DoNotGenerateDataMemberAttribute, Unimplemented.

Relation Property

Allows adding extended properties for the relation property of the model. To add a custom property, click the Add button and edit its name, type and default value. The following properties are template-defined and can't be removed or edited: DoNotGenerateDataMemberAttribute, Unimplemented.

 

ExpandedToggleIcon        See Also


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.