I think you're mixing up quite a few things here?
The actual Fourier transform has a continuous frequency domain and the basis functions are orthogonal in the generalized sense of orthogonality of functions
int_-inf^inf exp(i.w.t) exp(-i.w'.t) dt = 2.pi.delta(w-w')
It seems like you're mixing in some properties of the discrete fourier series and DFT?