Enum Type Properties

NHibernate enumerated type has the following properties:

Code Generation

Attributes

Attributes of the object.

Documentation

LongDescription

Detailed description of the enum type.

Summary

Brief description of the enum type.

Modifier

Specifies the visibility level of the enum type. Acceptable values are Public or Internal.

Extended Properties

Properties defined by the user outside the object.

Generate Data Contract Attribute

Specifies that the enum type defines a data contract and is serializable by a serializer. To make the type serializable, define a data contract for the type. To create a data contract, apply the Generate Data Contract Attribute to the enum type and apply the Generate Data Member Attribute to any fields or properties that must be serialized. Acceptable values are True or False.

General

Assembly

Assembly that contains the enum type.

Is Flag

Indicates that the enum type can be treated as a bit flag, i.e. a set of flags. Acceptable values are True or False.

Is External

Indicates that the enum type is already defined in the project and should not be generated by Entity Developer. Acceptable values are True or False.

Members

Members of the enum type.

Name

Name of the enum type.

Namespace

Namespace where the enum type resides.

Shape Color

The color of objects on the diagram.

Underlying Type

The underlying type of the enum. Acceptable values are SByte, Byte, Int16, Int32 or Int64.

 


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.