Class Editor

This dialog box allows you to create and edit classes, add or delete their properties.

Name – Set the class name here.

Access – Set the accessibility level of the Table<T> class in the DataContext here.

Source – Set the table the class will be mapped to. If left blank, the class name is used.

Inheritance Modifier – Set the inheritance modifier for class here.

View – Selecting a view allows you to view and edit specific parameters for class or type properties inside the Class Editor without opening Property Editor. The following views are available.

  • General – Allows you to edit main property parameters, such as its type, server data type, corresponding column name, nullability, whether it is a part of Entity Key, whether it is read-only.
  • Facets – Allows you to edit property column facets, such as max length, unicode and fixed length settings for string data type, or precision and scale for numeric data types.
  • Presentation – Allows you to edit property display name.
  • Validation – Allows you to edit property validation settings - whether its value must be set, its format, min and max length for string data types, min and max value for numeric data types.

Documentation – Click to open the Documentation Editor, which contains the following fields.

  • Long Description – Enter a long class description here if needed.
  • Summary – Enter a brief description of a class here.

Properties – Displays class properties and their parameters.

See also

Dialog windows

Property Editor

Classes