You should be able to use the PetaPoco code generation stuff with NPoco, however I have not tested it as I do not use/like it.
Most of the methods are the same, but you might have to tweak them slightly. You can just place the TT
files into your project and run them as well as adding NPoco to your project.
If you do get them working, let me know and I may consider adding them back into NPoco. ;)