added basedao support for dao classes