Really? Please don’t have pets if you think this is okay. Not walking your dog for 2 years is pure negligence.
Regardless of size, every dog needs exercise, mental and physical stimulation to have a happy life. Dachshunds may be small but they still require walks and can become destructive and depressed if they don’t get the necessary exercise they need.
she still needs to be walked regardless of how big her garden is. They need to experience new sights and smells. Imagine how bored the poor dog is, no wonder it runs off!