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.LightSpeed.Migrations
Assembly:  Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.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