ODS 2.0.0 Release Notes - Changes from ODS 1.1.0
ODS 2.0.0 introduces major new features to ODS as well as a large number of general improvements and bug fixes.
Database Plug-ins
ODS 2.0.0 sees the introduction of database plug-ins for ODS Design Studio. This major new feature enables ODS to generate DAL source code that targets SQL Server, MySQL and MS Jet 4.0 with more plug-ins to come soon.
Automated Testing
A major behind the scenes change for the development of ODS 2.0.0 has been the creation of an automated test system. Testing automatic source code generation is inherently challenging. The huge number of possible code generation scenarios require a great deal of testing. Manually repeating these tests for every change, however minor, is time consuming and error prone. The ODS test system has enabled us to build up and automatically test against a huge library of code generation scenarios, ensuring the high quality of generated source code.
Change list
ODS 2.0.0 includes many new features and bug fixes. Most of the significant changes are listed below:
- Added a new MS Jet 4.0 plug-in for ODS Design Studio.
- Added a new MySQL plug-in for ODS Design Studio.
- Resolved a number of scenarios where generated source code would not compile.
- Resolved a number of scenarios where compiled source code would not work as intended.
- Resolved an issue where source code for custom Exists methods was not being properly generated.
- The location of the toolbars are now saved when the application is closed.
- Added cut and paste for classes, properties, predefined objects, enums and enum values.
- Added the ability to select multiple class, properties, pre-defined objects, enums and enum values.
- Added a DeleteAll standard method.
- Recently opened solutions list is now sorted, last opened first.
- Added support for very long strings.
- Fixed millisecond storage issues with the DateTime data type.
- Fixed an issue where internal and external predefined object ids were being mixed up.
- Renamed the ODS Solution Designer "Drivers" folder to "Plugins" to avoid confusion with generated source code.
- Added a new application setting to hold the .NET Framework 2.0 folder name.
- Added a new application setting to hold the .NET Framework 2.0 SDK folder name.
- Removed the C#2 compiler setting from the solution.
- Resolved various issues in the generated source code when dealing with nulls.
- All Id and Object values are now represented as Guid data types in generated code. Nulls are represented as Guid.Empty.
- Added a new constructor method to all generated classes that automatically generates a new GUID for the new objects id.
- The ODS Solution file now stores folder properties as relative paths when the folder is a sub-folder of the main solution folder.
- The generated VS2005 and batch files now use relative paths when the folder is a sub-folder of the main solution folder.
- Changed the help system to be html file based rather than chm based.
- Added shortcut keys to the main menus.
- "Static Data" is now known as "Predefined Objects" throughout ODS.
- "Fields" are now known as "Properties" throughout ODS.
- Enhanced the warning process when changing the source code folder in solution properties.
- Enhanced the warning process when changing VS2005 projects and batch file folders.
- Changed the names of generated upgrade methods to ensure they are always unique.
- Split the Methods tab out into a Standard Methods tab and a Custom Methods tab.
- When deleting properties it now checks if they are used as parameters to custom methods.
- Fixed the border not being drawn correctly on some tab pages.
- Made some GUI redraw speed optimisations.
- Fixed a visual bug where moving the toolbars around can create gray space.
- Fixed a bug where text is changed to red to indicate an error but under some conditions was not being reset to black when it should have been.
- Class, custom method, user method, enum and enum value lists should now remain alphabetically sorted when adding new items or changing item names.
- Fixed a number of validation issues with user method parameters.
- Enhanced the comments and organisation of the generated source code.
- Changed user method plug-in GUI so that the initial SQL "select" part is provided automatically with the required column names.
- Fixed a number of user method issues.
- Maximum class and enum names are now 61 characters and method, parameter and enum names are 64 characters.
- Added the ability to override the automatically generated name for custom methods.
- ODSGen now logs exceptions in the main ODS error log file.
- ODSGen now sets the errorlevel to 1 if an exception occurs.
- ODS now generates IDataStore.cs and Base_IDataStore.cs class files. IDataStore.cs is editable.
- When running in Evaluation mode ODS now only opens solutions that meet the evaluation mode criteria.
- Added a 64bit version of ODS and the ODS installer.
- Numerous other minor bug fixes and tweaks.