Generate CRUD for an entity