Converts the ColumnNames and ColumnValues to a WhereFragment

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

Syntax

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

Parameters

columnNames
Type: array< System..::.String >[]()[]
The names of the Columns to Add to the WhereFragment
op
Type: System..::.String
The operator to use between the names & values. For example " = " or "!="

Return Value

A SqlString that contains the WhereFragment

See Also