Do we need to increment the version number, given the dirty properties?

Namespace: NHibernate.Engine
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static bool IsVersionIncrementRequired(
	int[] dirtyProperties,
	bool hasDirtyCollections,
	bool[] propertyVersionability
)
Visual Basic
Public Shared Function IsVersionIncrementRequired ( _
	dirtyProperties As Integer(), _
	hasDirtyCollections As Boolean, _
	propertyVersionability As Boolean() _
) As Boolean
Visual C++
public:
static bool IsVersionIncrementRequired(
	array<int>^ dirtyProperties, 
	bool hasDirtyCollections, 
	array<bool>^ propertyVersionability
)

Parameters

dirtyProperties
Type: array<System..::..Int32>[]()[][]
The array of property indexes which were deemed dirty
hasDirtyCollections
Type: System..::..Boolean
Were any collections found to be dirty (structurally changed)
propertyVersionability
Type: array<System..::..Boolean>[]()[][]
An array indicating versionability of each property.

Return Value

True if a version increment is required; false otherwise.

See Also