Add a comment to the generated SQL.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
ICriteria SetComment(
	string comment
)
Visual Basic
Function SetComment ( _
	comment As String _
) As ICriteria
Visual C++
ICriteria^ SetComment(
	String^ comment
)

Parameters

comment
Type: System..::..String
a human-readable string

Return Value

this (for method chaining)

See Also