Called when sql string is being prepared.

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

Syntax

C#
SqlString OnPrepareStatement(
	SqlString sql
)
Visual Basic
Function OnPrepareStatement ( _
	sql As SqlString _
) As SqlString
Visual C++
SqlString^ OnPrepareStatement(
	SqlString^ sql
)

Parameters

sql
Type: NHibernate.SqlCommand..::..SqlString
sql to be prepared

Return Value

original or modified sql

See Also