Log a IDbCommand.

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

Syntax

C#
public virtual void LogCommand(
	IDbCommand command,
	FormatStyle style
)
Visual Basic
Public Overridable Sub LogCommand ( _
	command As IDbCommand, _
	style As FormatStyle _
)
Visual C++
public:
virtual void LogCommand(
	IDbCommand^ command, 
	FormatStyle^ style
)

Parameters

command
Type: System.Data..::..IDbCommand
The SQL statement.
style
Type: NHibernate.AdoNet.Util..::..FormatStyle
The requested formatting style.

See Also