FeaturesScreenshotsVideosHistory   Download Visual NHibernate - free trial   Buy now


Subscribe to RSS feed to get automatically notified when new releases are made


Version    30 December 2012
  • Improved: Updated NHibernate and Fluent NHibernate assemblies to latest versions.
  • Fix: Selecting entity in treeview marks project as dirty.

Version    3 July 2012
  • Fix: Oracle nullable columns not identified correctly.
  • Fix: Error when editing table's columns in the grid.
  • Fix: Error when connecting to Oracle database.
  • Fix: Application and company name placeholders not populated correctly in error-reporting form.

Version    19 June 2012
  • Fix: Oracle TNS entries not found when running a 64bit Oracle client.
  • Fix: Error when updating model with changes to the database, where tables have been removed from the database.
  • Fix: Occasional error when selecting an entity to create a new relationship.
  • Fix: Errors when creating database script and no database exists yet. Note that this is still beta functionality.
  • Fix: Changes to an entity's batch-size being ignored.

Version    23 May 2012
  • Improved: Better reporting of the validation check when a Reference of an entity has the same name as a property of the same entity.
  • Fix: The order-by clause for some collections aren't written to the HBM XML files or Fluent mapping code.

Version    15 May 2012
  • Improved: Added SizeIsMax property to Column objects in the template scripting model to indicate VARCHAR(MAX) fields in the database.
  • Fix: Indexes not available in template scripting.
  • Fix: Field printer not checking for null InitialValue when merging fields (ensuring that a field exists).
  • Fix: The lower portion of the scrollbar for the treeview on the Resources tab on the the templates page is hidden.
  • Fix: Entity/Table details grid displays incorrectly when it is scrolled and the entity is changed.
  • Fix: The headings on the Entity/Table properties grid hide the top of the scrollbar.

Version    24 April 2012
  • Fix: Can't add a relationship between tables where the link is on a Unique key instead of a Foreign key.
  • Fix: Under certain circumstances a project file doesn't open correctly when one of a relationship's entities has been deleted.
  • Fix: Previous values of properties of references between entities reappear if the reference is deleted and re-added at a later stage.

Version    16 April 2012
  • Improved: More informative message when error adding a relationship.
  • Fix: Error when orphaned relationships are saved.

Version    12 April 2012
  • Fix: Error when generating files.
  • Fix: Added validation rule to check that a relationship's primary key and foreign key have the same number of columns.

Version    6 April 2012
  • Fix: New References created due to database sync are not saved as part of the model.
  • Fix: Error when generating files.
  • Fix: Other occasional errors

Version    25 March 2012
  • Fix: Error's when generating a deep folder structure.
  • Fix: Error when trying to report an error - due to third-party library.
  • Fix: Errors when a location with many files (eg: My Documents) is selected as the output folder.

Version    24 February 2012
  • Fix: Virtual relationships between tabels and views are not saved.

Version    22 February 2012
  • Fix: SQLite databases with a single table not imported correctly.

Version    21 February 2012
  • Fix: Templates: Modified encodings are not applied when changed, then generated immediately.
  • Fix: SQLite columns not added to the model under certain conditions.

Version    8 February 2012
  • Fix: Occasional error during file generation.
  • Fix: Occasional null-reference exceptions on the 'Select Entity' screen.

Version    30 January 2012
  • Fix: Self-referencing entities not available for selection in 'Add Entity' dialog.
  • Fix: Error when creating a project from an existing VS NHibernate project due to some required tables not being fetched from the database.
  • Fix: Error when user creates a new entity from an association table that is used in many-to-many relationships.
  • Fix: Error when saving the project, due to serializing tables that contain unprintable characters in their default values.
  • Fix: Cannot save SQLite projects.
  • Fix: Error when synching database changes.

Version    6 September 2011
  • Improved: Added a new setting: Default Cascade for collection properties of an entity.
  • Fix: Some projects appear empty when re-opened.
  • Fix: : 'Bad handshake' error when connecting to some instances of MySQL.

Version    2 September 2011
  • Improved: Added new validation rule to check that references using association tables are correct.
  • Improved: When removing a child from a parent (inheritance), re-add references between removed child and its parent, which was removed when creating the inheritance structure.
  • Fix: Removed inheritance structures reappeared when re-opening a saved project.

Version    2 August 2011
  • Fix: User-configurable property naming scripts not working.
  • Fix: Sequential property naming not getting reset for each entity.
  • Fix: Error when accessing PostgreSql databases.
  • Fix: Occasional errors when importing changes from the database that include association tables.

Version    8 July 2011
  • Fix: Runtime errors in templates were not getting reported correctly, especially with regards to line number in the template.

Version    29 June 2011
  • Fix: Reverted 3rd party library back to a previous version: Errors when connecting to Oracle databases, caused by a big in a 3rd party library.

Version    27 June 2011
  • New: Added ability to specify a default value for the 'inverse' property of collections (references).
  • Fix: IntelliMerge doesn't work for Fluent NHibernate projects - custom edits are lost in existing files.
  • Fix: Files not written to disk when the 'Merge into existing files' is unchecked.
  • Fix: Errors when connecting to Oracle databases, caused by a big in a 3rd party library.

Version    13 June 2011
  • Fix: Report error messages that can occur when saving a project, eg: when trying to copy over a read-only file.
  • Fix: Access to path is denied exception when starting the program.

Version    13 June 2011
  • Fix: Strange 'DEBUG' characters sometimes appear in the generated output when templates are customised.

Version    12 June 2011
  • Fix: Opening a saved project that includes Table Per SubClass inheritance results in an seemingly empty project.

Version    9 June 2011
  • New: Added SessionManager to the generated code project.
  • New: Added a new validation rule to check that classes in an inheritance relationship do not have normal references (relationships) to each other.
  • Improved: Creating a new mapped entity for an existing table in the database model now automatically finds and adds many-to-many relationships as well. Previously these were only added when fetching from the database, not the model.
  • Improved: Newly-added entities are added to the treeview in the correct alphabetic position, instead of at the bottom.
  • Fix: Fluent mapping code for key columns not getting generated for child objects in Table Per SubClass inheritance structures.
  • Fix: Bug with Fluent NHibernate mappings with self-referencing tables where the association table key has the same name as the primary key column.

Version    2 June 2011
  • Fix: 'Could not load file or assembly' error when loading a project via 'Recent Files'.

Version    30 May 2011
  • Improved: Set the default value of 'Inverse' = true on one-to-many references, since this corresponds to the most common usage scenario.
  • Fix: LazyLoad property not being set in the script model object, resulting in Fluent mappings always having Not.LazyLoad().
  • Fix: OptimisticLock should not get generated for sub-classes.

Version    26 May 2011
  • Improved: Tables named 'HIBERNATE_UNIQUE_KEY' not selected by default, as this is the table used for the HiLo algorithm, not an entity table.
  • Improved: Removed Iesi using statements, made references fully-qualified.
  • Fix: Error when changing Property data-types values in the entity properties grid.
  • Fix: Incorrect version of FluentNHibernate.dll was being used.

Version    19 May 2011
  • Fix: Relationship columns are sometimes mismatched when the primary key has multiple columns.

Version    19 May 2011
  • Fix: Database server name gets reset to 'localhost' when opening a saved project.
  • Fix: Some relationships are not imported correctly when importing database changes.

Version    15 May 2011
  • Improved: Updated Sharp Architecture template to 1.9.6
  • Fix: NH Validator was using namespace instead of assembly name.

Version    10 May 2011
  • Fix: A saved project opens and appears empty when it contains views with keys.

Version    6 May 2011
  • Improved: Added new validation rule to check that lazy properties belong to a lazy entity.
  • Fix: Diagram not updated immediately when entity properties or table columns are added, deleted or have their names changed.

Version    5 May 2011
  • Improved: Improved performance of database sync for Oracle and PostgreSql databases.
  • Fix: Collection order-by not being generated correctly.

Version    2 May 2011
  • Fix: Database update script templates not included in base install.

Version    2 May 2011
  • New: Added support for creating database update scripts from the model. Only SQL Server is supported at this time. Support for other databases will be added soon. Please note: this functionality is still regarded as beta - let us know what needs to be improved!

Version    1 May 2011
  • New: Added support for 'order-by' to collections.

Version    30 April 2011
  • Improved: Added IsDynamicInsert and IsDynamicUpdate to Entity objects in the scripting API.
  • Improved: Added IsVersionProperty to Property objects in the scripting API.
  • Fix: Error when serializing the database model with a null data-type.
  • Fix: Optimistic-lock, dynamic-insert, dynamic-update, default-cascade, version, id-generator not written to Fluent mappings.
  • Fix: Incorrect key-columns for some references.

Version    14 April 2011
  • Fix: Importing a SQLite database gives an error if default string column values in the schema have multiple surrounding quotes.

Version    12 April 2011
  • New: Added support for SQLite.

Version    11 April 2011
  • Improved: Added OverwriteFiles to the Project script object to indicate whether the user has requested that files should be overwritten instead of merged. Updated the templates to use this.
  • Fix: Property types are sometimes not set correctly when starting from an existing VS project that uses partial classes.
  • Fix: Sometimes this error occurs when starting from an existing VS project:'Could not find relationship to map to for reference between Entities'.
  • Fix: In projects that use partial classes, the generation occurs in the wrong partial file.
  • Fix: Batchsize not getting set correctly in Fluent mappings.

Version    2 April 2011
  • Fix: Error when saving generated file selections if project directory doesn't exist.
  • Fix: Error if a Map, IDBag or List collection doesn't have an index column specified. Added a more informative error message describing which reference has the problem.

Version    1 April 2011
  • Improved: Added backticks to Table names in Fluent mapping code, to handle table names which are reserved words.
  • Improved: On the database sync screen, changes are sorted by schema then table-name.
  • Improved: On the licensing screen, made the option panels clickable instead of using mouse-overs to change selection.
  • Fix: On the database sync screen, database connection errors are unhandled.

Version    1 April 2011
  • Fix: Saving and loading selected files in generation screen causing errors.

Version    31 March 2011
  • Improved: Added feature to remember selected (checked) files on the generation screen between runs.
  • Improved: Added new validation rule to check that all references have at least one column in the primary and foreign keys.
  • Fix: The 'Create new reference' context-menu item wasn't working - causing problems.

Version    25 March 2011
  • Fix: A few fixes for Oracle.

Version    24 March 2011
  • Improved: Open button on top menu now displays recent files in a drop-down list.
  • Improved: Database passwords now saved (encrypted).
  • Improved: Update checks etc. now support a proxy (uses the proxy defined for Internet Explorer and Google Chrome).
  • Improved: Folder browser dialog on File Generation screen now supports creating new folders.

Version    24 March 2011
  • New: Added support for SQL Azure.
  • Improved: Updated template to NHibernate 3.1
  • Improved: Added IsNullable to Property class in scripting model API.
  • Improved: Removed null check in the GetHashCode() function for non-nullable types.
  • Improved: Performance improvements to IntelliMerge.
  • Fix: Database views not getting serialized and deserialized when saving a project. Data goes missing.
  • Fix: Column data-types not displayed correctly in the columns editor.
  • Fix: List's not getting generated correctly and not getting read from existing VS projects correctly.
  • Fix: Importing database changes in which multiple tables have new fields with the same name, these fields are numbered sequentially even though they belong to different tables.

Version    8 March 2011
  • New: Added ability to IntelliMerge functions.
  • Improved: NHibernate template: The Equals and GetHashCode function bodies are now regenerated every time, even when the file already exists. By default, IntelliMerge doesn't overwrite function bodies, but these two functions need to get overwritten.
  • Fix: IntelliMerge throws an 'Index out of range' error under some circumstances when merging code.
  • Fix: 'Yes' and 'No' boolean values in NHibernate connection strings are not handled.

Version    18 February 2011
  • New: Added support for removing suffixes from table and column names when naming entities and their properties.
  • Improved: Handle discriminator data when importing existing Visual Studio projects.
  • Improved: Auto-add primary keys (with no columns) to tables with no primary keys. This makes it easier to specify virtual primary keys: just select which columns form the primary key.
  • Improved: Better tracking of selected entities in the treeview.
  • Improved: Better determining of unique columns in the relationship editor.
  • Fix: Second level cache settings not being written to mapping files.
  • Fix: Error when reading an Oracle database schema: 'The given key was not present in the dictionary.'

Version    11 February 2011
  • Fix: Problems during generation - some files not getting created. A test exception was being thrown.

Version    10 February 2011
  • Fix: ChildKeyColumn and ParentKeyColumns swapped in Fluent mapping code.
  • Fix: Error when importing existing projects.
  • Fix: Problem with trial licenses in non-English locales.

Version    9 February 2011
  • Fix: License wizard displayed for full licenses.

Version    8 February 2011
  • Improved: Improved the displaying of the error grid on the Templates tab.

Version    2 February 2011
  • New: Added Sharp Architecture template (beta). Select the Sharp Architecture template on the Templates tab.
  • New: Added ability to edit table and column prefixes to the database screen. Added prefix-stripping during database synchronization.

Version    1 February 2011
  • New: Added Tables, Column, PrimaryKeys to the template scripting model.
  • New: Added TypeVb to Property objects in the template scripting model. This returns the equivalent VB.Net data-type for the property, for templates authors targeting VB.Net code.
  • Fix: Oracle bug: PrimaryKey column not found in the columns collection.
  • Fix: Occasional error when re-opening a saved project where mapped tables were removed.

Version    27 January 2011
  • Improved: Better handling of m:m relationships where one side is also part of a m:m relationship.

Version    26 January 2011
  • Improved: Validation rule to ensure that all m:m entity references have a backing association table has been improved to check certain variations.
  • Fix: Error when using IntelliMerge field insertions.

Version    24 January 2011
  • Improved: Added label and tooltip for template delimiter selection.
  • Fix: Error when opening a file with partial references.

Version    20 January 2011
  • New: Added support for IntelliMerge of fields.
  • New: Added ability to select the style of delimiter that a template uses: ASP '<%%>' and T4 '<##>'.
  • New: Added Find and Replace to the template editor: Ctrl-F and Ctrl-H.
  • Fix: 'Byte[]' data-types are written as 'Binary' in the HBM mapping files instead of 'BinaryBlob'.
  • Fix: Incorrect TextRange startOffset for properties leading to error when the existing file has zero properties.

Version    17 January 2011
  • Improved: Force inclusion of the 'not-null' attribute for many-to-one elements in the HBM XML mapping files.
  • Fix: Occasional error when synching the latest database schema.
  • Fix: Collection cascade attribute values contain an underscore instead of a hyphen.

Version    17 January 2011
  • New: Added ability to specify uni-directional references.
  • Improved: Reference-lines update in real-time when cardinalities are edited.

Version    14 January 2011
  • Fix: Collection cascade values and property access value written to HBM files incorrectly.

Version    14 January 2011
  • Fix: UnauthorizedAccessException when the output folder has read-only files.

Version    13 January 2011
  • New: Default values for the 'Access', 'Cascade', 'Lazy' attributes for properties can now be set at project-level and at entity-level. They can be overridden at entity-level and property-level.
  • New: The default value for the 'Lazy' attribute of entities can now be set at project-level and overridden at entity-level.

Version    12 January 2011
  • Fix: Problems connecting to Oracle, PostgreSql, and MySQL databases.

Version    11 January 2011
  • New: Added support for 'proxy', 'select-before-update' and 'batch-size' to entities.
  • New: Added support for 'access', 'formula', 'insert', 'update', 'optimistic-lock' and 'generate' to properties.
  • New: Added support for proper NHibernate types to entity properties, in addition to C# types.
  • New: Added initial support for pseudo boolean columns in databases such as Oracle and PostgreSql.
  • Improved: Improved specifying index columns for Map collections types. Can now specify case-insensitive as well as specifying the entity property instead of the backing table column - it does a lookup.
  • Fix: The Nullable data in mappings is sometimes incorrect.

Version    31 December 2010
  • Fix: HBM and Fluent mappings incorrect for self-referencing entities.

Version    29 December 2010
  • Fix: Csproj and sln files not being merged correctly due to existing files not being found when 'not' starting from an existing VS project.
  • Fix: Incorrect column mappings for m:n relationships in the HBM XML and Fluent code.
  • Fix: Incorrect nullable support for 1:m relationships in Fluent code.

Version    28 December 2010
  • New: Added support for NHibernate 3.0. Select version on Options screen. BREAK: NHibernate Spatial is not supported in NHibernate 3.0 yet.

Version    28 December 2010
  • New: Added support for PostgreSQL sequences - to ensure that the correct NHibernate Generator is specified for an entity.
  • Fix: Dynamic template folder names throw an error when no iterator specified.
  • Fix: Fluent mapping code doesn't take the entity generator into account.

Version    16 December 2010
  • Fix: Reference Fetch Mode gets reset every time a project is opened.
  • Fix: New relationships imported via synchronising with the database do not have their mapped relationship set.

Version    14 December 2010
  • Fix: HBM XML 'assembly' attribute used the project's namespace (from the settings screen) instead of the project's name.
  • Fix: Indexes with missing columns (deleted from parent table) throw an error when deserialised from a saved file.
  • Fix: Incorrect code-weaving when regions appear around properties.

Version    9 December 2010
  • Fix: Nothing get imported when only views selected and no tables are selected.
  • Fix: Error when importing database changes.

Version    3 December 2010
  • Fix: Error on start-up when some database script settings have been modified.

Version    3 December 2010
  • Improved: Improved performance of fetching Oracle schema information.
  • Fix: Error when fetching the schema information from some Oracle databases.

Version    29 November 2010
  • New: Added support for database views.

Version    25 November 2010
  • Fix: When selecting an entity to add as a reference, entities that were already referenced using a different mapped relationship were not displayed to be selected.
  • Fix: Error when viewing certain diffs.

Version    15 November 2010
  • Improved: References and mapped tables are now listed alphabetically in the diagrammer.
  • Improved: Added checkboxes to the reference editor to specify 'insert' and 'update' settings for collections.
  • Improved: Improved speed of analysing files for differences.
  • Fix: Column data-types not getting updated when importing changes from the database.
  • Fix: Self-referencing many-to-many relationships not created (between the same entity and itself).
  • Fix: When importing database changes, selecting relationships but not their associated (new) tables as well causes an error.
  • Fix: Setting the 'inverse' property on a reference doesn't generate the correct XML.

Version    3 November 2010
  • Fix: When importing changes from the database, changes to the database field type are not applied to existing mapped properties.

Version    1 November 2010
  • Improved: Added option to select version of Visual Studio.
  • Improved: Added ability to handle association tables with multiple columns per Key.
  • Improved: Added support for fetch-type to Fluent NHibernate mapping code.
  • Fix: Some property settings not getting saved.

Version    28 October 2010
  • Improved: Added a validation rule to check that all references have a MappedTable or MappedRelationship.
  • Improved: Prevent m:n references being created between the same entity.

Version    27 October 2010
  • Fix: Occasional error when clicking on the validation results grid.
  • Fix: Small problem with foreign keys in MySQL.

Version    26 October 2010
  • Fix: References deleted via the diagrammer do not get deleted correctly.

Version    26 October 2010
  • Fix: DateTime parse error on non-English machines.
  • Fix: Trial license behaves weirdly when running in elevated mode vs non-elevated mode.

Version    26 October 2010
  • New: Visual NHibernate finally released! The beta period is now finished.
  • New: Added support for Fluent NHibernate m:n relationships that have composite keys.
  • New: When adding a new referenced entity, now include entities that can be in a m:n relationship in the selection list.
  • New: Added ability to overwrite files instead of performing diff and merge.
  • Improved: Report all database problems to the user when starting from an existing database, instead of throwing an exception for the first error only.
  • Improved: Added validation rule to check that entities have no duplicate property names.
  • Improved: Installer: Improved check for .Net Framework. Now require 4.0 'release' version not 'beta' and also require 'Full' not 'Client'.
  • Improved: Validation grid now displays selected entity when a row is clicked.
  • Fix: HBM XML files for multi-level inheritance (TPSC) were not being generated correctly.
  • Fix: Mapping.ToReference is null.
  • Fix: Certain types of collections not imported correctly from existing Fluent NHibernate VS projects.

Version    12 October 2010
  • Fix: Error when manually adding a relationship between two tables in the table diagram.

Version    5 October 2010
  • Fix: Joins in the HBM were using incorrect key.

Version    5 October 2010
  • Fix: Error when importing an existing VS project and a config file is found, but it doesn't contain NHibernate settings.

Version    5 October 2010
  • Fix: Joins in the HBM were having the 'from' table set instead of the 'to' table.
  • Fix: Files with changes were being overwritten during re-generation analysis.
  • Fix: Error when code-changes in an existing file include changing a data-type to a nullable type.

Version    4 October 2010
  • Improved: Inheritance diagram: Moved the 'Add child' shape to the far left instead of the far-right.
  • Fix: References with nullable keys were not being generated correctly for Fluent NHibernate mappings.
  • Fix: Incorrect layout of the inheritance diagram when transitioning between different entities.

Version    1 October 2010
  • Fix: Error when importing database changes that include a new relationship on an association table.

Version    1 October 2010
  • Improved: BREAK: The user's naming of entities, properties etc. are now honoured during file-generation, even when they're invalid. The old behaviour was to rename them to a vaild name. This will cause some issues with existing files (diffs), but moving forward there will be no problems.
  • Fix: The entity and table designers displayed weird scrolling behaviour under various circumstances.

Version    30 September 2010
  • Improved: Limited diff algorithm time-limit to 5 seconds to limit high CPU and memory usage on big files with complex diffs.
  • Improved: Adding a new reference (Entity) to an existing entity only displayed entities mapped to the current table, not entities mapped to tables related to the current table.

Version    29 September 2010
  • Fix: Error when analysing files during re-generation, when a code file contains nullable types.

Version    29 September 2010
  • Improved: When unmapping a table from an entity, prompt user whether to remove properties that are mapped to the tables columns.
  • Fix: When importing new relationships from the database, new matching references are not created.
  • Fix: Deleting properties sometimes results in zombie properties.

Version    28 September 2010
  • New: Added ability to delete existing entities mapped to a table when that table is mapped to another entity.
  • New: Added context-menu to merge 1:1 and m:1 references into the main entity on the entity mapping screen with a single-click.

Version    28 September 2010
  • New: Added ability to delete components.
  • Improved: Moved 'Components' node to top level of tree.
  • Fix: Occasional error when navigating away from table keys editor.
  • Fix: When synching with database, new mapped entities are not auto-created for imported tables.

Version    28 September 2010
  • Improved: Virtual primary keys can be add to a table or an entity. The changes will get propagated both ways.
  • Fix: When importing an existing VS NH project, tables not wired up correctly if no schema has been specified in the NH config file.

Version    26 September 2010
  • Fix: Orphaned mappings were being serialized and throwing exceptions.

Version    26 September 2010
  • Fix: Certain conditions cause an error when loading a Visual NHibernate project, and shows a blank screen.
  • Fix: When importing existing VS NH projects, the many-to-one mapping nodes with no specified table name (ie: table-name matches the node name, and can be omitted) was causing an error.

Version    22 September 2010
  • Fix: Error when a m:n association table has a primary key not used in any relationships.

Version    21 September 2010
  • Fix: Various fixes.

Version    25 August 2010
  • New: Added templates for changing auto-naming of entities and properties when starting from an existing database. See File - Options.
  • Fix: Database not loading correctly when config file missing and settings specified manually.

Version    18 August 2010
  • Fix: Existing projects not loading correctly.

Version    18 August 2010
  • Improved: Improved reporting of template errors during generation. Now switch to Templates tab and display errors.
  • Improved: Removed splash screen.
  • Improved: Improved display under Windows Classic theme and large size fonts.
  • Improved: Added 'Check for updates' button to start screen.
  • Improved: Improved custom type mapping. Added customizable post lookup scripts.
  • Fix: Project gets reset when exiting the project project wizard without selecting an option.
  • Fix: Error when editing integer values in the columns grid.

Version    12 August 2010
  • Improved: Entity property types are now displayed in a combo-box in the properties grid.
  • Fix: Nullable database columns not mapped to nullable .Net types correctly.

Version    11 August 2010
  • New: Many new inheritance features.
  • Fix: Oracle tables with no columns cause issues.
  • Fix: When importing new columns on existing tables from the database, the mappings aren't being added automatically.
  • Fix: Many other small fixes.

Version    4 August 2010
  • Fix: Occasional error when IntelliMerge is merging into existing source code files.

Version    4 August 2010
  • New: Custom type-mapper to map for complete control over how database types map to .Net types, including ability to handle user-defined types.
  • New: Added support for all three types of inheritance: Table Per Hierarchy, Table Per Concrete Class, Table Per Sub-Class.
  • Improved: Converted 'File' tab to Office 2010 BackStage style.
  • Improved: Many small improvements.
  • Fix: Many fixes.

Version    26 July 2010
  • Fix: Fix for SQL server and SQL Server Express collation-related issue.

Version    25 July 2010
  • Improved: Various improvements to the database synchronization feature.
  • Fix: SQL CE: Error when clicking the database node in the treeview.
  • Fix: Can't load saved projects that use SQL CE.

Version    23 July 2010
  • Improved: Added a 're-check' button to the validation errors grid.
  • Improved: Changed Mapping and Inheritance icons to buttons to make them more discoverable.
  • Improved: Improved styling of the Model Validation Errors grid.
  • Improved: Switch to the Model screen when validation errors are identified during generation on the Output screen.
  • Improved: Improved downloading of new install. Integrated instead of launching web-browser. Added progress-bar.
  • Fix: Fix for many-to-many relationships that map back to the same table.
  • Fix: Setting the value of 'Max Fetch Depth' on the Options screen caused an error.

Version    22 July 2010
  • Improved: Improved support for Map and IDBag collections.
  • Improved: Added validation check to ensure a valid index column has been specified for Map and IDBag collections.
  • Improved: Added checkboxes to parent nodes in DB sync tree to select/deselect child nodes.
  • Fix: Some files weren't being removed during uninstallation.
  • Fix: The Partial class setting wasn't being used.
  • Fix: Changed default project namespace setting from Project.Model to Project. The 'Model' is added in the templates.

Version    21 July 2010
  • Improved: Improved error reporting to enable saving error report as a file which can be emailed to Slyce.

Version    21 July 2010
  • New: Added support for SQL Server 2000.
  • Improved: Changed the name of project files folder from 'Project Files' to '<ProjectFileName>_files' to enable multiple projects to be saved to the same folder and not overwrite each others files.
  • Improved: Default save location set to: '<MyDocuments>\Visual NHibernate\Projects'.
  • Fix: Error on non-English systems when displaying stack-trace of template errors that occur during generation.
  • Fix: Error when setting the output folder to 'MyDocuments' due to some sub-folders such as 'My Music' being restricted system folders. This generates an access violation.

Version    20 July 2010
  • New: Database synchronization feature to import changes from the database and apply them to the model.

Version    20 July 2010
  • Fix: Error when working with Oracle, MySQL and PostgreSQL datbases: 'License not valid due to the problems with dotConnect Universal installation.'

Version    16 July 2010
  • New: Added encoding selector to each template file.
  • Improved: Added tooltips to controls on template editor.
  • Fix: Fixed encodings of generated XML UTF8 files.
  • Fix: Occasional error when clicking 'Re-generate' when an output path hasn't been selected, due to access permissions violation.
  • Fix: Project settings not saving correctly.
  • Fix: SQL bit was mapping to C# short instead of bool.

Version    15 July 2010
  • New: Added the ability to import Fluent NHibernate projects. Now you can visualize and edit your Fluent NHibernate projects.
  • Improved: Added descriptions for the buttons to the 'Create new project' screen.
  • Fix: Error when trying to add a new relationship to a table with no primary key.

Version    11 July 2010
  • Fix: Error on the Options screen when changing the Default Cascade type.

Version    11 July 2010
  • New: Converted to .Net 4.0
  • Improved: Many improvements to the installer: Check whether the .Net Framework 4.0 is installed - open the download page if it isn't; Check that Visual NHibernate is not running; Check that only one instance of the setup is running.
  • Improved: Many improvements to the error reporter, including requiring that the first instance of an error must be reported - subsequent reports of the same error can be skipped if desired. User is asked to please help us by reconsidering when they choose to send anonymously.
  • Fix: Invalid Object name 'Information_Schema.Key_Column_Usage'. Caused by case-sensitive SQL Server collations.
  • Fix: Occasional bug when viewing a diagram: 'The given key was not present in the Dictionary'.
  • Fix: 'Argument out of range' exception when editing parameters of generator on the Entity Details editor.
  • Fix: Password characters not hidden on the database details screen.

Version    8 July 2010
  • Improved: Performance improvement when analysing the files for changes after generation.
  • Improved: Exception reporting requires the first instance of a particular error to be reported, while subsequent instances of the same error don't need to be sent.
  • Fix: Error: When clicking on the 'Templates' tab, this error can occur: 'Object reference not set to an instance of an object'.
  • Fix: Error: Viewing the database info screen for a blank project.

Version    7 July 2010
  • Fix: Merged classes have an 'XXX' attribute added to them. Test data in the template has now been removed.
  • Fix: Error when changing the bytecode generator on the Options screen.
  • Fix: UserOption not found: Property_UsePrivateSetter, when generating in a project with components.

Version    6 July 2010
  • Fix: DirectoryNotFound error: user's templates folder not being created: MyDocuments\Visual NHibernate\Templates.

Version    6 July 2010
  • New: Visual NHibernate now has an advanced template engine and templates for NHibernate. These include IntelliMerge features, enabling precise insertions into existing source-code files without overwriting existing code.
  • New: Added the ability to create a new NHibernate component directly from the entity shape on the entity diagrammer.
  • New: Added support for 'default-lazy, 'default-access', 'auto-import' and 'default-cascade'.
  • New: Adding support for components to the generated Fluent NHibernate code.
  • Improved: Auto-select all tables when creating a project from a database with only one schema.
  • Improved: Added ability to delete a discriminator.
  • Improved: Much improved exception reporting.
  • Improved: Auto-expand 'select tables' when there is only a single schema, collapse when multiple schemas.
  • Improved: Better and faster editing of table and column prefixes.
  • Fix: Oracle VARCHAR2 should map to string, not Guid.
  • Fix: When doing a "refactor to component", reusing an already existing component doesn't work.
  • Fix: Many-to-many relationships being created with incorrect columns in HBM XML and Fluent NHibernate code.
  • Fix: Many fixes for SQL Serve Compact (SQL CE).
  • Fix: Clicking up/down in the diff viewer didn't work for single-doc view. Also, didn't align to middle of the page.

Version    7 June 2010
  • New: Added support for specifying table and columns prefixes to be removed.
  • Fix: Error when starting from an existing NHibernate Visual Studio project.

Version    4 June 2010
  • New: Added ability to select schemas and tables when importing a database.
  • New: Added support for specifying 2nd level cache settings for entities.
  • New: Added support for using tnsnames for Oracle databases.
  • Improved: Improved the color-scheme - made buttons easier to read.
  • Improved: Improved layout of the Entity details screen.
  • Improved: Made server default to machine name instead of '.' for SQL Server.
  • Improved: Many more config seetings have been added to the Settings screen.
  • Improved: Removed concept of schema filtering from Oracle and PostgreSQL.
  • Improved: Made native connections the default for Oracle.
  • Improved: Optimizations to Oracle schema loading, especially when there are many schemas.
  • Fix: Error when a MySQL databases has a column with Size exceeding the maximum value of an int32.
  • Fix: Error when clicking the 'Reset Default Values' button on the settings screen for an empty project.

Version    21 May 2010
  • Improved: Improvements added to the model validation check to remove false positives.
  • Improved: Added schema to tables in the diagrammer when the database has multiple schemas.
  • Improved: Updated look and feel to display correctly under the Windows Classic theme on Windows 7.
  • Improved: Updated look and feel to Office 2010 Black theme.
  • Improved: Improved layout of the entity inheritance screen. Restrict the minimum size and display scrollbars if necessary.
  • Improved: Allow multi-selections when selecting child entities for inheritance. Use the Ctrl and Shift keys when selecting.
  • Improved: Moved the reference/relationship-line edit icons to the outside of the text to better handle long reference/relationship names.
  • Fix: References not being created correctly for databases with multiple schemas.

Version    19 May 2010
  • Fix: Problem generating the hbm.xml file for a SQL Server Express project that has been saved and re-opened.

Version    17 May 2010
  • Fix: Error connecting to SQL Server databases with multiple schemas having duplicate table-names.
  • Fix: Error when clicking an empty cell in the custom code grid.

Version    12 May 2010
  • New: Add custom code to entity classes: using statements, attributes, base-names (implements and base-class names), properties, methods.
  • Improved: Write properties as single line when inserting properties with no accessor bodies.
  • Fix: Constructs (properties, methods etc) were being inserted in the middle of existing source-code.
  • Fix: Insertions into existing code were inserting incorrectly.
  • Fix: Errors when dealing with a SQL Server database using the same table names across multiple schemas.

Version    3 May 2010
  • New: Added patch updates (binary deltas) to minimise filesize when downloading newer version.
  • Improved: Most recently used database type is preselected when creating a new project.
  • Improved: More model validation checks.
  • Improved: Added iesi and System.Collections.Generic assemblies to using statements in generated code, removed full qualifications from type names in classes.
  • Fix: Many fixes for Fluent NHibernate output.
  • Fix: Many-to-one mappings were not always generating the correct hbm xml.
  • Fix: Many fixes and improvements for starting from an existing Visual Studio NHibernate project.
  • Fix: Root node of output treeview changes to 'Click here to set...' with every mouseover.

Version    28 April 2010
  • Improved: When clicking 'Refresh Schema' for a new database in a blank project, tables and entities are now created.
  • Fix: MySQL support not working correctly.

Version    27 April 2010
  • New: BREAK: Added support for the various ID generator schemes, including for custom generators.
  • Improved: Added more model validation rules.
  • Improved: Improved creation of new entities and mapping of existing entities to a table via the UI.
  • Improved: Improved UI layout for mapping editor.
  • Improved: Switch to new table/entity when one created via the UI.
  • Fix: Columns in foreign keys still being written to hbm xml mapping file even when excluded via the UI.
  • Fix: Many other small fixes.

Version    23 April 2010
  • New: Added support for Firebird databases.
  • Improved: More improvements to auto-naming of collections.

Version    21 April 2010
  • Fix: SQL Server Express support was broken.

Version    20 April 2010
  • Improved: Improved handling of Association Tables. Auto-create association table when a column not in the relationship is and Identity column.
  • Improved: Allow user to add Association tables via editor, including when there are extra columns on the Association Table.
  • Improved: Improved auto-naming of references to prevent duplicates.
  • Fix: Identity columns were not being marked as unique when they were one of multiple columns in the primary key.

Version    19 April 2010
  • New: Added support for PostgreSQL.
  • New: Properties that relate to foreign keys are omitted by default. They can be included via the checkbox on the reference editor dialog. These properties will also be removed from existing code if required.
  • Improved: Database comparison now reports changes in relationships as well.
  • Improved: Added more options to database connection screen. You can now specify port and service name (sid for Oracle).
  • Improved: The single view diff editor has been improved to show finer-grained changes within a single line.
  • Improved: The database password is now saved during a session, so you don't need to keep re-typing it. It is still not saved to the project files on disk, for security purposes.
  • Fix: The data on the Options screen was not being saved.
  • Fix: Some database communication failures resulted in an error. These are now displayed via a MessageBox.
  • Fix: Some changes made to the database connection settings were not being saved correctly.
  • Fix: Other small fixes.

Version    13 April 2010
  • New: Added ability to create new (virtual) relationships between tables. This makes it easier to work with legacy databases.
  • New: Added context-menus to the table diagram.
  • Improved: Improved the validation functionality.
  • Fix: Database connection info not being saved for MySQL and Oracle.

Version    7 April 2010
  • Fix: An occasional error can occur when displaying validation results in the grid.

Version    6 March 2010
  • Improved: Improved the auto-naming algorithm for entity names and column names.
  • Fix: Some column names cause exception when getting processed.
  • Fix: In particular scenarios, some keys get flagged as changed when refreshing the database schema.
  • Fix: Validation error grid not being hidden when errors fixed.
  • Fix: Removing a referenced entity in the diagram only removes it from one of the two entities.
  • Fix: Adding a new column in the table column editor causes an error.
  • Fix: Database settings editor not loading correctly for MySQL and Oracle.
  • Fix: Some input boxes in the database settings editor disabled for Oracle and MySQL.

Version    4 April 2010
  • Fix: Added support for Oracle.

Version    3 April 2010
  • Fix: Some SQL Server data-types not handled correctly.

Version    2 April 2010
  • New: Added support for MySQL.
  • Improved: Improved naming of entities and properties.

Version    31 March 2010
  • New: New diagrammer.
  • New: New look and feel.
  • New: Streamlined workflow.
  • Improved: Better user-experience.
  • Improved: Many, many improvements.
  • Fix: Many, many fixes.

Version    1 February 2010
  • New: Added ability to select an NHibernate config file that is not in the current project when starting from an existing Visual Studio project.
  • Improved: Optimizations in displaying file contents editors.
  • Improved: Added ability to specify the output folder via a hyperlink in the root node of the treeview. Removed the output folder textbox and button.
  • Improved: New visual styles added, including custom colour scheme. (see 'Styles' in the top right corner)
  • Improved: Many small UI improvements.
  • Fix: The new files counter on the File Generation screen reports incorrect numbers.
  • Fix: Binary file new/changed status not getting set correctly.
  • Fix: Error when deleting an entity.

Version    29 January 2010
  • Fix: An error occurs when generating new files.

Version    26 January 2010
  • New: Integrated diff engine: All files that are different to files on your disk are displayed so you can see the changes before writing them to disk. Syntax-highlighting for text files, file-information for binary files.
  • New: Filtering of files based on whether they've got changes or not etc.
  • New: Added support for Nhibernate Spatial. Check the Project Settings screen.
  • New: Added support for Geometry and Geography SQL Server 2008 data-types.
  • Improved: Removed annoying progressbar from Output screen.
  • Improved: Renamed 'Options' tab to 'Project Settings' tab.
  • Improved: Renamed 'Files' tab to 'File Generation' tab.
  • Improved: Added entity name to all validation reports to enable quicker identification.
  • Improved: Double-click a validation report or click the entity hyperlink to navigate directly to the entity in question.
  • Improved: Moved the 'Write files to disk' button from the RibbonBar at the top to underneath the files treeview.
  • Improved: Many small UI improvements.
  • Fix: Column names with single quotes cause errors.
  • Fix: Output screen freezes when validation errors are displayed during the generation process.
  • Fix: New xml fragments not being inserted correctly into existing csproj files.

Version    21 January 2010
  • Improved: Better reporting of searched locations when NH config data can't be found in an existing project.
  • Fix: NH config sections in app.config and web.config files in existing projects sometimes aren't identified correctly.

Version    20 January 2010
  • Improved: When creating a new project from an existing VS NHibernate project, automatically set the output path to the project's root folder.
  • Improved: Added correct singularization rule for words like 'Status'.
  • Fix: Deleting relationships and references is slow.
  • Fix: Class properties based on References are generated with incorrect type.
  • Fix: Csproj files of existing projects are being overwritten. Must merge correctly.
  • Fix: Adding a new table when refreshing the database gives an error.

Version    14 January 2010
  • New: Added support for Fluent NHibernate. The NHibernate tab on the Options screen now has an option called UseFluentNHibernate which changes the mapping format from HBM XML to Fluent NHibernate mappings. The Mappings are written to {EntityName}Mapping.cs in the Model/Mapping folder. Note that reverse-engineering of existing projects only works for projects with hbm xml mappings. Support for reverse-engineering Fluent NHibernate mappings is coming soon.
  • New: Added support for reading NHibernate config settings from all possible locations, eg: web.config, app.config etc.
  • Improved: Added support for new SQL Server 2008 date data-types: date, datetime2, datetimeoffset
  • Improved: Added XML syntax highlighting in file preview for .config and .xsd file extensions.
  • Improved: NH Validator options are now displayed more intuitively.
  • Improved: BREAK: Changed how validation constraints are saved to disk. Existing projects will need to set up their validation constraints again.
  • Fix: Deleted references not being cleared correctly, resulting in errors when reloading a project.
  • Fix: Deleting tables and entities is very slow.
  • Fix: References and components not getting updated in existing source-code files.
  • Fix: Many-to-many reference names not getting pluralized.

Version    19 December 2009
  • Fix: Error when setting output folder.

Version    18 December 2009
  • New: Added support for lazy-loading.
  • New: Added support for 'dynamic-insert' and 'dynamic-update' which are used to specify whether the SQL for updates and inserts is generated at run time to avoid referencing null properties.
  • New: Added support for 'where' on classes which is used to specify some custom SQL to filter the entities.
  • New: Added support for 'where' on collection properties of a class.
  • New: Added a Version Property option for specifying that a property should be treated as a version property. This tells NHibernate that the class is versioned, and to use this property to determine the version of an Entity.
  • Improved: Focused entity displays its mapped table(s) on the diagram by default.
  • Fix: A few minor UI fixes.

Version    16 December 2009
  • New: Added ability to turn a composite primary key into a component.
  • New: Added entity keys to the model treeview.
  • Improved: Added option to make classes partial or not.
  • Improved: Added tooltips for all toolbar buttons.
  • Fix: Association tables with foreign keys to composite primary keys were not being handled correctly.

Version    9 December 2009
  • New: Pure many-to-many association tables (with no extra fields) used in many-to-many relationships are now omitted from the entity model.
  • New: Added option to make property setters private in entity classes.
  • New: Added option add the [Serializable] attribute to entity classes.
  • Improved: Database selection options are now more descriptive.
  • Improved: Mapped tables are now displayed for selected entities by default. See what table(s) the focused entity is mapped to.
  • Improved: Tables and entities now have different shapes in the diagrammer, as well as different colours, making it easier to differentiate between them.
  • Improved: Streamlined some UI interactions.
  • Fix: Fixed issue with Foreign Keys when they referenced Unique Keys instead of Primary Keys in SQL Server.

Version    2 December 2009
  • New: The relationship panel now displays the columns for the keys.
  • Improved: Made the message displayed when NHibernate configuration files can't be located more descriptive and useful.
  • Fix: When starting from an existing VS project the NHibernate configuration files can't be not found in some circumstances.

Version    1 December 2009
  • Improved: References between entities now pluralised correctly.
  • Fix: Many internal fixes and improvements.

Version    27 November 2009
  • New: Inheritance hierarchies diplayed in diagrammer.
  • New: Added model validation checks.
  • New: Add singularisation and pluralization of names.
  • New: Added code-insertion to add required properties etc. to POCO classes without touching the rest of the existing code.
  • New: Validate project's database schema against the actual database and report inconsistencies.
  • New: Added support for NHibernate Validator
  • Improved: Updated NHibernate version to 2.1.2.GA
  • Fix: Many small fixes.

Version    22 October 2009
  • New: Start new project from existing Visual Studio project: reverse engineers hbm xml files to allow NHibernate projects to be worked with graphically.
  • New: Added beginnings of database migration support.
  • New: Added ability to view mapped tables for selected entity in the diagrammer.

Version    11 October 2009
  • Fix: Update check not working correctly.
  • Fix: A number of UI fixes.

Version    7 October 2009
  • New: Entity-first modeling: design your entities then auto-create your database schema from them, mapping the entities to the tables.
  • New: Model validation reports when 'things aren't quite right'. Click the 'Validate Model' button on the toolbar.
  • New: Report detailing what changes have been made to database schema during the current session.
  • Improved: Minor UI improvements.
  • Improved: The diagrammer now displays an entity's inherited properties separately.
  • Fix: Many minor fixes.

Version    25 September 2009
  • Improved: Added more model manipulation operations to the property grids.
  • Improved: Added columns to the Key property grid.
  • Improved: Added Keys collection to the Table property grid.
  • Fix: Clicking on a table relationship in the database diagram causes error.

Version    17 September 2009
  • New: Each entity has the option of turning off the automatic implementation of equality members.
  • New: Added auto-complete to Property property grid Type textbox
  • New: Added option to select bytecode generator.
  • Improved: Added a MessageBox to the Clear Model operation, asking the user if they are sure they wish to proceed and warning them that it will wipe everything.
  • Fix: Many small UI fixes.

Version    8 September 2009
  • Beta Release

Buy now Download Visual NHibernate