Sets the criteria to use for the WHERE. It joins all of the columnNames together with an AND.

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

Syntax

Visual Basic (Declaration)
Public Function SetWhereClause ( _
	tableAlias As String, _
	columnNames As String(), _
	whereType As IType _
) As SqlSelectBuilder
C#
public SqlSelectBuilder SetWhereClause(
	string tableAlias,
	string[] columnNames,
	IType whereType
)
Visual C++
public:
SqlSelectBuilder^ SetWhereClause(
	String^ tableAlias, 
	array<String^>^ columnNames, 
	IType^ whereType
)
JavaScript
function setWhereClause(tableAlias, columnNames, whereType);

Parameters

tableAlias
Type: System..::.String
columnNames
Type: array< System..::.String >[]()[]
The names of the columns
whereType
Type: NHibernate.Type..::.IType
The Hibernate Type

Return Value

The SqlSelectBuilder

See Also