Get the current database version number. If no version information exists, it will be created and set to the default starting version number.

Namespace:  Mindscape.NHibernateModelDesigner.Migrations
Assembly:  Mindscape.NHibernateModelDesigner.Migrations (in Mindscape.NHibernateModelDesigner.Migrations.dll)
Version: 3.1.0.0 (3.1.0.0)

Syntax

C#
public virtual MigrationVersion CurrentVersion()
Visual Basic (Declaration)
Public Overridable Function CurrentVersion As MigrationVersion

Return Value

The current version number of the database.

See Also