"nullable" vs "not null" - duplication in the model spec?
New build of Entity Developer 4.2.129 is available for download now!
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://www.devart.com/forums/viewtopic.php?t=23375 .
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://www.devart.com/forums/viewtopic.php?t=23375 .
The problem of losing changes after closing and reopening the project appears to be fixed now, but it appears you did not address the issue of opening a project from a previous version.
All my nullable="true" properties still defaulted to ValidateRequired="True", which doesn't exactly make any sense.
I can't wait for another release, so I will correct it all by hand again, but I'd encourage you to address this issue - others may not be so patient...
All my nullable="true" properties still defaulted to ValidateRequired="True", which doesn't exactly make any sense.
I can't wait for another release, so I will correct it all by hand again, but I'd encourage you to address this issue - others may not be so patient...
This is a result of changing default value for ValidateRequired (True now). Previous versions considered False as default and didn't make the corresponding entries to *.hbml. Now ValidateRequired is considered as True if there is no opposite entry in *.hbml. There will be no fix here.mindplay wrote:All my nullable="true" properties still defaulted to ValidateRequired="True",
This is a possible situation: column in the database is nullable, but object model is with the ValidateRequired="True" setting for the corresponding property.mindplay wrote:which doesn't exactly make any sense.
That was not the case.Shalex wrote:This is a possible situation: column in the database is nullable, but object model is with the ValidateRequired="True" setting for the corresponding property.
Doesn't matter to me at this point, I fixed it all by hand - there were hundreds of instances, but most were relatively easy to fix with search and replace in the XML file...