Table of Contents

Interface IDataQueryLogger

Namespace
FluentCommand
Assembly
FluentCommand.dll

An interface for logging queries

public interface IDataQueryLogger

Methods

LogCommand(IDbCommand, TimeSpan, Exception, object)

Log the current specified command

void LogCommand(IDbCommand command, TimeSpan duration, Exception exception = null, object state = null)

Parameters

command IDbCommand

The command to log.

duration TimeSpan

The execution duration.

exception Exception

The exception thrown when executing the command.

state object

The state used to control logging.

Exceptions

NotImplementedException