public SqlLoggedSqlDataReader( SqlLoggedSqlConnection connection, IDbCommand command) { _connection = connection; _command = command; }
public SafeLoggedSqlConnection(SqlLog.SqlLog sqlLog, int applicationId, string userName, string hostName, string connectionString, ISqlLoggedSqlCommandFilter filter, CancellationToken cancellationToken) { var connection = new SqlLoggedSqlConnection.SqlLoggedSqlConnection(sqlLog, applicationId, userName, hostName, connectionString, filter); _cancellationToken = cancellationToken; Initialize(connection, this); }
public SqlLoggedSqlCommand( SqlLoggedSqlConnection connection, IDbCommand command) { Assert.IsNotNull(connection); Assert.IsNotNull(command); _connection = connection; _command = command; }