RC2

Topic updated 24-11-2006

Release Notes RC2

General features

Added Postgres and Sybase database providers.
Changed table selection dialog, more options added for selecting and deselecting
More options on compare schema, there where no options before
Export to Excel from the browse data dialog
Added keys of tables in tree of data repository.
Code completion works now on XML files
Code restructuring, better support for { } blocks.
Restructure option on custom codeblocks.
Added restructure code block from the right mouse menu is a user code block.
Added a view menu with show project explorer. When the project explorere has disappeared it can be called up from here.
Added Tools, Database providers menu option to register database providers.
Child template symbols of an BO-Layer item can be edited in it's UI.
Custom view edit form now shows keys and relations
Close all tabs option.
Project Tree Validation model improved a lot. Now shows much more dynamic validation message at each levels of the project or dbrepository
For DbProjects (NHibernate Template) added a new menu option for viewing the DataSources.
GetDataObjects now supports virtual properties (typed in code).
Many changes to prepare for the ASP.NET Templates

General fixes

Remove relation would not remove from tree.
Import of Sql server schema that was setup on a case sensitive database would fail.
Import of relations in ASA driver now improved
Keys could not be created for custom views
It was possible to give tables & items duplicate names when editing the name in the project explorer
Memory leak when loading dbrepositories & projects
Installer would create an extra bin directory inside the bin directory
XML files of the NHibernate templates where not correctly included when loading a generated project inside VS.NET

NHibernate Templates features

Automatic removal of relations when Mapped entity is removed. (previously this was making the other items "invalid")
BOLayer now excludes IsValid property (since it uses Bindable==false) as beign part of the POCO class exposed properties.
Improved and much more dynamic way to expose to other template (ASP.NET) what are the exposed DataSources. Previous technique was using Reflection now we use source parsing.
BOLayer Template adds automatically the msbuild and the config items.
New Validation that the Project should contain at least 1 TableTpl (entity mapped)
Use DbRepository Validations is also a template prompt now.

NHibernate Templates fixes

If the CustomView and the View had no PK (most normal case) then this was working correctly. but if they View defines a PK --> it was not adding the mutable.
Switching back from Complete model to basic model was not changing back the Template to set concurrecny = off.
GetHashCode was not "excluding" certain columns.  For example, excluded columns or columns with unsupported types.
Added extra check to "avoid" Binary field when simulated PK and to throw an error if it was the user that had a PK with a binary.
When pressing ValidateModel if a table had no primary key --> exception.
Nhibernate XML mapping some relations where incorrectly treated as 1:1 when the PK was contained (but actually the amount of fields was different it can never be a 1:1..)
ValidationError improved ErrorsToString. ( this is the error message returning by the Validate Method)
PropertyName was not using template symbols for getting the Many:1 Name, thus compile errors in some cases ( recursive relations for example, but also if somebody manually changed the name)