No of course not. There is other factors at play and I did not intend to imply it was the only driver of crime, as I indicated...
The oil patch industry brings young, highly paid, transient men to Edmonton, who then contribute to demand for illicit stuff, which organized crime exploits and is empowered by, leading to tertiary crimes like theft and violence. Boom and bust cycle plus addiction plus a limited skill set for some of these workers, means some end up homeless themselves, likely committing crimes to support habits. They might not be working directly in oil, they might work in one of the countless secondary industries in Edmonton. Sometimes guys in these industries are very rough around the edges. I would go as far to say it attracts them to the city, some are basically homeless already or are like ex-cons only able to find work sweeping up a shop. Walk though an industrial area at night in Edmonton (or anywhere really), it can be sketchy. So now you have police busy dealing with some of this extra shit other cities don't have as much of, and less able to focus on keeping streets safe from prolific offenders (the guys you can't just avoid by being a law abiding citizen). Police are stretched super thin, sometimes you will go to a police station to report a crime and it is closed due to staff shortages, it's crazy. Because of the good job market Edmonton has had a huge population boom and police and other services have not been able to keep up. Calgary is bad too. So you can see it's all related, but sort of unavoidable. Traditionally heavy industrial activity brings economic opportunity but also big time social challenges to the surrounding community