Метод | Описание | |
---|---|---|
DetermineActualStyle ( NHibernate.AdoNet.Util.FormatStyle style ) : NHibernate.AdoNet.Util.FormatStyle | ||
GetCommandLineWithParameters ( IDbCommand command ) : string | ||
GetParameterLoggableValue ( IDataParameter parameter ) : string | ||
LogBatchCommand ( string batchCommand ) : void | ||
LogCommand ( IDbCommand command, NHibernate.AdoNet.Util.FormatStyle style ) : void |
Log a IDbCommand.
|
|
LogCommand ( string message, IDbCommand command, NHibernate.AdoNet.Util.FormatStyle style ) : void |
Log a IDbCommand.
|
|
SqlStatementLogger ( ) : System |
Constructs a new SqlStatementLogger instance.
|
|
SqlStatementLogger ( bool logToStdout, bool formatSql ) : System |
Constructs a new SqlStatementLogger instance.
|
Метод | Описание | |
---|---|---|
GetBufferAsHexString ( byte buffer ) : string | ||
GetParameterLogableValue ( IDataParameter parameter ) : string | ||
GetParameterLoggableType ( IDataParameter dataParameter ) : string | ||
IsStringType ( DbType dbType ) : bool | ||
TruncateWithEllipsis ( string source, int length ) : string |
public DetermineActualStyle ( NHibernate.AdoNet.Util.FormatStyle style ) : NHibernate.AdoNet.Util.FormatStyle | ||
style | NHibernate.AdoNet.Util.FormatStyle | |
Результат | NHibernate.AdoNet.Util.FormatStyle |
public GetCommandLineWithParameters ( IDbCommand command ) : string | ||
command | IDbCommand | |
Результат | string |
public GetParameterLoggableValue ( IDataParameter parameter ) : string | ||
parameter | IDataParameter | |
Результат | string |
public LogBatchCommand ( string batchCommand ) : void | ||
batchCommand | string | |
Результат | void |
public LogCommand ( IDbCommand command, NHibernate.AdoNet.Util.FormatStyle style ) : void | ||
command | IDbCommand | The SQL statement. |
style | NHibernate.AdoNet.Util.FormatStyle | The requested formatting style. |
Результат | void |
public LogCommand ( string message, IDbCommand command, NHibernate.AdoNet.Util.FormatStyle style ) : void | ||
message | string | Title |
command | IDbCommand | The SQL statement. |
style | NHibernate.AdoNet.Util.FormatStyle | The requested formatting style. |
Результат | void |
public SqlStatementLogger ( bool logToStdout, bool formatSql ) : System | ||
logToStdout | bool | Should we log to STDOUT in addition to our internal logger. |
formatSql | bool | Should we format SQL ('prettify') prior to logging. |
Результат | System |