It's impossible to render judgement based on your story, but restaurants and similar businesses are allowed to have and enforce dress codes for their customers. Consider a formal restaurant and someone shows up in shorts and a tee shirt.
If you don't like the dress code, the manager or anything else about the place, why give them your business? Why give them your money?
Go where you are accepted and be happy.