Parses a MigrationVersion from a string.

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 static Nullable<MigrationVersion> TryFromString(
	string value
)
Visual Basic (Declaration)
Public Shared Function TryFromString ( _
	value As String _
) As Nullable(Of MigrationVersion)

Parameters

value
Type: System..::.String
The string to be parsed.

Return Value

The MigrationVersion corresponding to the string, or null if the string did not represent a valid version.

Remarks

Valid version strings are of the form "yyyyMMddHHmmsss" where the components represent a valid timestamp.

See Also