So, there's something I'm slightly confused about regarding vampirism in lore. As we know, vampires are weak to the sun, which is a giant hole leading to Aetherius. However, vampires are often adept spellcasters, and have no inherent weakness to magic (just fire). And yet Aetherius is the source of magic. We know Daedra aren't weak to the sun, so is it due to their status as undead?
For example, Dawnguard has sun spells that do extra damage to the undead. Is this a reference to undead having a weakness to the sun in general, and that sun damage to the undead in general just isn't implemented in the game, but is in line with lore?
I've been confused on this for some time. Any ideas?