Compares two MigrationVersion objects.

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 int CompareTo(
	MigrationVersion other
)
Visual Basic (Declaration)
Public Function CompareTo ( _
	other As MigrationVersion _
) As Integer

Parameters

other
Type: Mindscape.NHibernateModelDesigner.Migrations..::.MigrationVersion
The MigrationVersion to be compared to the current one.

Return Value

A positive value if the current MigrationVersion is greater than other; zero if they are the same; otherwise a negative value.

Implements

IComparable<(Of <(T>)>)..::.CompareTo(T)

See Also