Value Type Editor
The Value Type Editor is the editor which allows you to alter any aspect
of a value type definition: its fields and its code generation
information. You open a value type definition in its Value Type Editor
by selecting it in the Project Explorer and then
right-clicking it and selecting Edit..., or by pressing Ctrl-Shift-O
.
The value type editor consists of the following main parts:
- Fields tab
- This tab contains the information and editors for working with the fields of the value type definition and the unique constraints defined over these fields
- Code generation info tab
- This tab contains the information and editors for the code generation related data of the value type definition and its containing elements.
At the top of the Value Type Editor you'll find the following editor elements:
- Value type name
- This is the name of the value type definition
- Group name
- This is the name of the group the value type definition is in. You can select an existing one or specify a new one. If left empty, the value type definition is in the unnamed group
The General Value Type Editor
The designer also offers a General Value Type Editor. This is a special kind of value type editor which allows you to edit the value type which is currently selected in the project explorer. This editor is opened by selecting Project -> General Value Type Editor in the menu, or by clicking button in the toolbar.
The advantage of the General Value Type Editor is that it keeps the current sub tab selected when you select another value type in the project explorer, which allows you to e.g. edit the fields of several value types without a lot of clicking through tabs.