Exemplo n.º 1
0
        object ICloneable.Clone()
        {
            var connectionString = ConnectionString;
            var connection       = new SafeSqlConnection(connectionString);

            return(connection);
        }
 void ISafeDbConnection.HandleException(Exception exception, IDbCommand command)
 {
     SafeSqlConnection.HandleException(exception, command, _cancellationToken);
 }
 void ISafeDbConnection.HandleException(Exception exception, TimeSpan elapsed)
 {
     SafeSqlConnection.HandleException(Connection, exception, elapsed, _cancellationToken);
 }