Upvote:1
Yes, a long-stay visa for one Schengen country allows you to transit through one or more other Schengen countries on your way to or from the country that issued your visa -- both airside and (as you will need) landside.
The visa also allows you to visit other Schengen countries (that is, for more than just transiting) as long as those visits don't total more than 90 days of every 180.