LinqConnect 2.50 with Improved Code Generation Is Released!
May 17, 2011
Devart is glad to announce the release of LinqConnect 2.50 - an enhanced LINQ to SQL compatible ORM solution with extended functionality, support for SQL Server, Oracle, MySQL, PostgreSQL, and SQLite. The new version of LinqConnect features eager loading if the related entities collection is referenced in the select clause of the query and greatly enriched Entity Developer 3.50 with improved code generation.
Entity Developer Improvements
Now, it is possible to add more than one template to the model, register added templates within the model and store them either in the Entity Developer resources, or in the specified folder, or together with the model itself. The so-called "shared" templates can now be easily shared between different models.
Another new feature in the area of template use and management is the possibility to exclude templates from the process of code generation by setting their "enabled" property to "false". This greatly improves the flexibility of the code generation process.
Template code can be easily edited in the improved built-in T4 editor. Our T4 editor features extensive intellisense functionality, syntax highlighting, navigation to definitions and declarations of objects and members, present in the template file or included files, multilevel template inclusion and some others.
The range of templates available in Entity Developer is further extended with the POCO template with XML mapping for LinqConnect.
Additionally, the Entity Developer application now features, alongside the FilePerClass option, the EntitiesOutput and ContextOutput functionality that allows redirecting code generation for entities and appropriate contexts to any folder or project.
Presently, Entity Developer makes it possible for developers to exclude classes from being overwritten at each generation; in multi-layered application development, this allows creating sets of sample classes that can later be modified as needed.
The use of extended properties defined directly in template code makes the process of code generation much more flexible. The developer can customize the set of properties of any element in the model by declaring extended properties both in template code and in model properties. For example, you can add the Generate property to every class and then exclude some classes from generated code by setting this property in the designer.
Starting with this version of Entity Developer, developers can select attributes from all available assemblies, set values of attribute parameters and assign attributes to classes, properties or contexts of their model. Assigned attributes and the values of their parameters will be present in generated code. For example, the System.ComponentModel.DataAnnotation attributes can be used for validation.
Lastly, Entity Developer now has runtime support for literals specified in the 'Default Value' entity field property for LinqConnect models.
If you need another feature in Entity Developer, visit our forum at UserVoice and vote for suggested features or suggest your own one.
You are welcome to download LinqConnect at the download page.
If you wish to provide feedback on the new version, you can do it in our forums or with contact form. There is also a feedback form, and we are always glad to hear your comments and take into account your development needs.
If you want to share your ideas about new LinqConnect features, you may do it on the UserVoice.