Q. Which is the base setup class for flat table entities, and which one the base for EAV entities?
Flat table: Mage_Core_Model_Resource_Setup
EAV table: Mage_Eav_Model_Entity_Setup
Flat table: Mage_Core_Model_Resource_Setup
EAV table: Mage_Eav_Model_Entity_Setup