Dynamic Dao framework