Converts the ColumnNames and ColumnValues to a WhereFragment

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

Syntax

Visual Basic (Declaration)
Protected Function ToWhereString ( _
	tableAlias As String, _
	columnNames As String() _
) As SqlString
C#
protected SqlString ToWhereString(
	string tableAlias,
	string[] columnNames
)
Visual C++
protected:
SqlString^ ToWhereString(
	String^ tableAlias, 
	array<String^>^ columnNames
)
JavaScript
function toWhereString(tableAlias, columnNames);

Parameters

tableAlias
Type: System..::.String
The Alias for the Table.
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 defaults the op to " = "

See Also