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(
	string message,
	IDbCommand command,
	FormatStyle style
)
Visual Basic
Public Overridable Sub LogCommand ( _
	message As String, _
	command As IDbCommand, _
	style As FormatStyle _
)
Visual C++
public:
virtual void LogCommand(
	String^ message, 
	IDbCommand^ command, 
	FormatStyle^ style
)

Parameters

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

See Also