Sets the VersionColumn for the UPDATE sql to use.

Namespace:  NHibernate.SqlCommand
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function SetVersionColumn ( _
	columnNames As String(), _
	versionType As IVersionType _
) As SqlUpdateBuilder
C#
public SqlUpdateBuilder SetVersionColumn(
	string[] columnNames,
	IVersionType versionType
)
Visual C++
public:
SqlUpdateBuilder^ SetVersionColumn(
	array<String^>^ columnNames, 
	IVersionType^ versionType
)
JavaScript
function setVersionColumn(columnNames, versionType);

Parameters

columnNames
Type: array< System..::.String >[]()[]
An array of the column names for the Property
versionType
Type: NHibernate.Type..::.IVersionType
The IVersionType of the Version Property.

Return Value

The SqlUpdateBuilder.

See Also