The CommandLog type exposes the following members.

Methods

  NameDescription
ToString
Returns a string containing the logged SQL and time taken in human readable format, and optionally parameter and result details.
(Overrides Object..::.ToString()()().)

Operators

  NameDescription
Explicit
Converts a CommandLog to its string representation.

Properties

  NameDescription
CommandParameters
Gets the parameters of the executed command.
CommandText
Gets the text of the executed command.
CommandTransaction
Gets the ADO.NET transaction in which the command was enrolled, if any.
Context
Gets the LightSpeedContext containing the database configuration against which the command was executed.
Result
Gets the result of the command.
TimeTaken
Gets the time taken to execute the command.
UnitOfWork
Gets the IUnitOfWork on whose behalf the command was executed.

See Also