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 tableAlias,
	string[] columnNames,
	string op
)
Visual Basic
Protected Function ToWhereString ( _
	tableAlias As String, _
	columnNames As String(), _
	op As String _
) As SqlString
Visual C++
protected:
SqlString^ ToWhereString(
	String^ tableAlias, 
	array<String^>^ columnNames, 
	String^ op
)

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
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