Oh, they're definitely connected, but it's more by a coincidence (or contrivance) of the setting than by it actually following a logical sequence of events. The Dam is only really linked in that kind of way to the first part of the main quest if you decide to side with House or Yes Man. That's...