Devart is delighted to introduce the new version of Entity Developer with a number of options to configure Entity Developer appearance and behaviour in the new Options dialog box and advanced support for entity property validation.
This dialog box allows you to tweak rules for mapping database data types to .NET types for SQL Server. It provides great flexibility of data type mappings. You can create, edit, or delete rules for each data type and even create subrules for different type precision, scale, or length values. For example, by default varbinary(1) is mapped to the byte array with a single element, however you may want to map it to the byte type. Now you can easily map this data type as you prefer. The new dialog box is available from the Tools menu.
In addition, now Entity Developer provides advanced suppport for entity property validation. It supports Enterprise Library, NHibernate Validator, and Data Annotations validation frameworks. Entity Developer eliminates the need to manually place the validation attributes in the generated code. You just need to select the preferred validation framework and set validation parameters, such as max value, min value, max length, min length, regular expression, or to select one of the predefined property formats. After this Entity Developer will generate validation attributes for entity properties in the generated code. Later you may choose another validation framework, and Entity Developer will generate correct validation attributes for the new framework automatically.
The new Options dialog box also allows you to set custom keyboard shortcuts for the most often performed operations in Entity Developer and specify the default appearance and printing settings for your project diagrams.
Here is the complete list of Entity Developer 4.2.85 features:
- Capability for customizing the default Type Mapping Rules is implemented
- Capability for setting diagram options either globally for all diagram documents or separately for a particular one is implemented: the Diagram Appearance and Printing options can now be set through the Options dialog box
- Capability for setting such options as Environment, Diagram and Servers' to adjust the Entity Developer behavior, Model diagram behavior and Type Mapping Rules to your needs is implemented
- Capability for setting and defining the class property validation rules based on different engines (Data Annotation, Enterprise Library, NHibernate Validator) is added
- The bug with 'losing' additional diagrams when re-opening a model is fixed
- The bug related to the exception thrown at column editing is fixed
- The bug related to Entity Developer crashes when saving NHibernate models is fixed
- The HasStream attribute of entity types, used retrieve binary data as a stream via Open Data Protocol, is supported
- The bug with code generation for foreign key fields in Entity Framework models with fluent mapping is fixed