There is Yii demo tutorial at http://www.yiiframework.com/screencasts/ that uses the Yii Code Generator. Are there similar Code Generator tools in Craft?
I believe you're referring to Gii, Yii's CRUD code generation tool. We specifically removed that from Craft.
I'm not aware of any Craft-specific code generation tools.