Some suggestions and bugs
Some suggestions and bugs
Hi,
after using ED for some time, I would like to share some suggestions and a couple of bugs
Suggestions:
1 - Add an option to enable/disable the generation of a single class, just like the "Enabled" template option
2 - Add an option to use the name of the enums instead of the value for NHibernate template as explained here: http://codebetter.com/jeffreypalermo/20 ... level-400/
3 - The regex used for "Validate format -> Numeric" should be changed from "^[1-9]\d*(,\d+)?$" to "^[0-9]\d*(,\d+)?$", because 0 is a valid number too; if it was intended to check if the property has a value, let the user choose which one to use
4 - Add an option to decorate entities as [Serializable]
5 - Add support for [DataType] data annotations
Issues:
1 - Toolbar and docking customizations of the standalone designer gets lost when the program is uninstalled for updates
2 - If you want to set the "Add foreign key properties to the child class" option at a later time, i.e. when the model is already created, it does not works; it only works if you set it when you first create the project or for newly added entities
I hope this will help to improve the software.
Best regards.
after using ED for some time, I would like to share some suggestions and a couple of bugs
Suggestions:
1 - Add an option to enable/disable the generation of a single class, just like the "Enabled" template option
2 - Add an option to use the name of the enums instead of the value for NHibernate template as explained here: http://codebetter.com/jeffreypalermo/20 ... level-400/
3 - The regex used for "Validate format -> Numeric" should be changed from "^[1-9]\d*(,\d+)?$" to "^[0-9]\d*(,\d+)?$", because 0 is a valid number too; if it was intended to check if the property has a value, let the user choose which one to use
4 - Add an option to decorate entities as [Serializable]
5 - Add support for [DataType] data annotations
Issues:
1 - Toolbar and docking customizations of the standalone designer gets lost when the program is uninstalled for updates
2 - If you want to set the "Add foreign key properties to the child class" option at a later time, i.e. when the model is already created, it does not works; it only works if you set it when you first create the project or for newly added entities
I hope this will help to improve the software.
Best regards.
Re: Some suggestions and bugs
Thank you for your reports/suggestions. We will investigate the possibility of fixing/implementing them and notify you about the results.
Re: Some suggestions and bugs
The bug with a format of generated DataAnnotations.RegularExpression for Numeric validate format is fixed in the latest (5.7.412) build of Entity Developer.Joe Smith wrote:3 - The regex used for "Validate format -> Numeric" should be changed from "^[1-9]\d*(,\d+)?$" to "^[0-9]\d*(,\d+)?$", because 0 is a valid number too; if it was intended to check if the property has a value, let the user choose which one to use
Re: Some suggestions and bugs
Please add this attribute via Attributes menu of Entity Developer:Joe Smith wrote:5 - Add support for [DataType] data annotations
a) navigate to Model > Settings > Attributes > select the assembly with the needed attributes and make sure that the needed attributes (DataType, etc) are checked in the window below, press OK
b) select the needed attribute in the Attributes collection of a particular class property
We do not add this attribute by default because the Entity Developer validation model is common for all three supported frameworks (NHibernate, Entity Framework, LinqConnect/LINQ to SQL).
Re: Some suggestions and bugs
The Generate Serializable Attribute property is added to the NHibernate template. We will notify you when the corresponding build of Entity Developer is available for download.Joe Smith wrote:4 - Add an option to decorate entities as [Serializable]
Re: Some suggestions and bugs
New build of Entity Developer 5.7.422 is available for download!Shalex wrote:The Generate Serializable Attribute property is added to the NHibernate template. We will notify you when the corresponding build of Entity Developer is available for download.Joe Smith wrote:4 - Add an option to decorate entities as [Serializable]
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=30168.
Re: Some suggestions and bugs
Excellent, thank you. I hope you will also add this option on a per class basis in a future versionShalex wrote:The Generate Serializable Attribute property is added to the NHibernate template. We will notify you when the corresponding build of Entity Developer is available for download.Joe Smith wrote:4 - Add an option to decorate entities as [Serializable]
Re: Some suggestions and bugs
We will notify you when the corresponding option is added.Joe Smith wrote:Excellent, thank you. I hope you will also add this option on a per class basis in a future versionShalex wrote:The Generate Serializable Attribute property is added to the NHibernate template. We will notify you when the corresponding build of Entity Developer is available for download.Joe Smith wrote:4 - Add an option to decorate entities as [Serializable]
The support of mapping a string representation of enum to the string fields in database is implemented. We will notify you when the corresponding build of Entity Developer is available for download.Joe Smith wrote:2 - Add an option to use the name of the enums instead of the value for NHibernate template as explained here: http://codebetter.com/jeffreypalermo/20 ... level-400/
Re: Some suggestions and bugs
The following features are available in the new (5.7.436) build of Entity Developer :
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=30319.
- The support of mapping a string representation of enum to the string fields in database is implemented
- The Generate Serializable Attribute property of classes and complex types is implemented
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=30319.
Re: Some suggestions and bugs
Thank you for all of the fixes you made: you really care about your customers!
I've another bug and one more suggestion to report to you
I've another bug and one more suggestion to report to you
- There is a little glitch with the new "Generate Serializable Attribute" option: at the template level, it's set to False but a the class level it's set to True, for each class.
The result is the attribute is not generated (the template setting wins, so to speak), which is exactly what I want, but it's a little bit confusing, isn't it?
I think that would be very helpful if the "Implement Cloneable" option was also available on a per-class basis too
Re: Some suggestions and bugs
Currently the Generate Serializable Attribute property of the class works only when the Generate Serializable Attribute option of the NHibernate template is set to True.Joe Smith wrote:There is a little glitch with the new "Generate Serializable Attribute" option: at the template level, it's set to False but a the class level it's set to True, for each class.
The result is the attribute is not generated (the template setting wins, so to speak), which is exactly what I want, but it's a little bit confusing, isn't it?
We will consider renaming option of the class level or/and adding comments in property description to make it more clear.
We will notify you when the corresponding option is implemented.Joe Smith wrote:I think that would be very helpful if the "Implement Cloneable" option was also available on a per-class basis too
Re: Some suggestions and bugs
New build of Entity Developer 5.7.451 is available for download:
- The behaviour is changed: the Generate Serializable Attribute extended property of classes and complex types is renamed to Do Not Generate Serializable Attribute (by default, false) with changing its logic correspondingly
- The Do Not Generate Cloneable Attribute extended property of classes and complex types is implemented (by default, false)
Re: Some suggestions and bugs
The bug with losing Toolbar and docking customizations of a standalone designer during reinstall is fixed: viewtopic.php?f=32&t=35928.Joe Smith wrote:Issues:
1 - Toolbar and docking customizations of the standalone designer gets lost when the program is uninstalled for updates