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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

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

Parameters

tableAlias
Type: System..::..String

[Missing <param name="tableAlias"/> documentation for "M:NHibernate.SqlCommand.SqlSelectBuilder.SetWhereClause(System.String,System.String[],NHibernate.Type.IType)"]

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

Return Value

The SqlSelectBuilder

See Also