Converts the ColumnNames and ColumnValues to a WhereFragment

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

Syntax

C#
protected SqlString ToWhereString(
	string[] columnNames
)
Visual Basic
Protected Function ToWhereString ( _
	columnNames As String() _
) As SqlString
Visual C++
protected:
SqlString^ ToWhereString(
	array<String^>^ columnNames
)

Parameters

columnNames
Type: array<System..::..String>[]()[][]
The names of the Columns to Add to the WhereFragment

Return Value

A SqlString that contains the WhereFragment

Remarks

This just calls the overloaded ToWhereFragment() with the operator as " = " and the tableAlias null.

See Also