[framework] Modify the CRUD function generator.