Dominant 7th chords are created off of the 5th degree of the major scale, so in the key of C you would have G7.
Now when you move into a minor tonality and you have a Dominant chord appearring off the 5th scale degree, as in the case of E7 vrs A-, you just entered the realm of Harmonic Minor.